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
Create a dialog from a block's parameters:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
widget = bdeGetTopLevelWidget();
dialog = bdeCreateBlockParametersDialogFromBlock(block, widget, false);
dialog = hwscpBlockParametersDialog