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.
Type: dialog
functionName
The name of the function to run when the info button is clicked.
Type: string

Examples

Add an info button to the dialog box:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          widget = bdeGetTopLevelWidget();
          dialog = bdeCreateBlockParametersDialogFromBlock(block, widget, false);
          bdeAddBlockParameterDialogInfoButton(dialog, 'functionToDoOnInfoButtonPress');
          bdeShowBlockParameterDialog(dialog);