bdeSetBlockParameterEditorButtonText

Sets the buttonText for a parameter within block. Works only with parameters with the widget editor or uneditor. Works only with inline blocks. Super blocks are inlined blocks.

Syntax

bdeSetBlockParameterEditorButtonText(block, parameter, buttonText)

Inputs

block
The block that the parameter is in.
Type: block
parameter
The parameter to set the editor button text.
Type: string
buttonText
A string to set the parameter's button text to.
Type: string

Examples

Set the button text for a parameter with an editor widget:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeSetBlockParameterEditorButtonText(block, 'testParam', 'Test parameter editor');