bdeCreateBlockParametersDialogFromBlock
Creates a dialog from the parameters of a given block.
Syntax
dialog = bdeCreateBlockParametersDialogFromBlock(block, widget)
Inputs
- block
- The block that the parameter is in.
- widget
- The widget of the top level of the diagram.
- showdoclabel (optional)
- Boolean that determines whether the doc's label with be shown. Default value is false.
Outputs
- dialog
- The dialog created from the block's parameters.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
widget = bdeGetTopLevelWidget();
dialog = bdeCreateBlockParametersDiaglogFromBlock(block, widget, false);
dialog = hwscpBlockParametersDialog