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.
Type: block
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. Default value is false.
Type: Boolean

Outputs

dialog
The dialog created from the block's parameters.
Type: dialog

Examples

Create a dialog from a block's parameters:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          widget = bdeGetTopLevelWidget();
          dialog = bdeCreateBlockParametersDiaglogFromBlock(block, widget, false);
        

          
            dialog = hwscpBlockParametersDialog