bdeSetBlockInBlockParametersDialog

Sets the dialog to use a given block.

Syntax

bdeSetBlockInBlockParametersDialog(dialog, block)

Inputs

dialog
The dialog to use.
Type: dialog
block
The block to set in the dialog.
Type: block

Examples

Set a dialog box to use a given block:

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