bdeAddBlockParameterDialogInfoButton
Adds an info button to the dialog box. Takes a functionName to run when the info button is clicked.
Syntax
bdeAddBlockParameterDialogInfoButton(dialog, functionName)
Inputs
- dialog
- The dialog box to add an info button to.
- functionName
- The name of the function to run when the info button is clicked.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
widget = bdeGetTopLevelWidget();
dialog = bdeCreateBlockParametersDialogFromBlock(block, widget, false);
bdeAddBlockParameterDialogInfoButton(dialog, 'functionToDoOnInfoButtonPress');
bdeShowBlockParameterDialog(dialog);