bdeSetBlockParameterButtonTooltip

Sets a shortDescription for a buttonParameter within block. Only works with parameters with the widget type button. Works with inline blocks. Super blocks are inlined blocks.

Syntax

bdeSetBlockParameterButtonTooltip(block, buttonParameter, shortDescription)

Inputs

block
The block that the button parameter is in.
Type: block
buttonParameter
The name of the button parameter.
Type: string
shortDescription
A string to set the tooltip for a button parameter to. Tooltip has useful information about the button parameter.
Type: string

Examples

Set the tooltip of a button parameter in a block:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeSetBlockParameterButtonTooltip(block, 'button1', 'This button is for the testing parameter.');