bdeCreateBlockParametersDialogFromXMLFile

Creates a dialog from a given xmlPath.

Syntax

dialog = bdeCreateBlockParametersDialogFromXMLFile(xmlPath, widget)

Inputs

xmlPath
The path of the xml file to use to create the dialog box.
Type: string
widget
The widget of the top level of the diagram.
Type: widget
showdoclabel (optional)
Boolean that determines whether the doc's label with be shown.
Type: Boolean

Outputs

dialog
The dialog created from the xml file.
Type: dialog

Examples

Create a dialog from a xml file:

          diagram = bdeGetCurrentDiagram();
          widget = bdeGetTopLevelWidget();
          dialog = bdeCreateBlockParametersDialogFromXMLFile('C:\Users\user\Desktop\test.xml', widget, false);
        

          
            dialog = hwscpBlockParametersDialog