bdeGetBlockParameterDialogButton
Returns the button of a given dialog box.
Syntax
dialogButton = bdeGetBlockParameterDialogButton(dialog, buttonName)
Inputs
- dialog
- The dialog box to get the button from.
- buttonName
- The name of the button to get. Valid inputs include: 'OK', 'Cancel', 'Apply', 'Info'.
Outputs
- dialogButton
- The button that is returned from the dialog box.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
widget = bdeGetTopLevelWidget();
dialog = bdeCreateBlockParametersDiaglogFromBlock(block, widget, false);
dialogButton = bdeGetBlockParameterDialogButton(dialog, 'on');
dialogButton = uiPushButton