bdeGetBlockParameterButtonCallback

Returns the callback of buttonParameter in a given block. This is ran while the button is shown in the user interface.

Syntax

buttonCallback = bdeGetBlockParameterButtonCallback(block, buttonParameter)

Inputs

block
The block that the parameter is in.
Type: block
buttonParameter
The button parameter to get the callback of.
Type: string

Outputs

callback
The callback parameter of the button.
Type: string

Examples

Get a button parameter's callback value:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          callback = bdeGetBlockParameterButtonCallback(block, 'button1');
        

          
            callback = TestCallback