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.
- parameter
- The parameter to set the editor button text.
- buttonText
- A string to set the parameter's button text to.
Examples
Set the button text for a parameter with an editor widget:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeSetBlockParameterEditorButtonText(block, 'testParam', 'Test parameter editor');