bdeGetBlockParameterWidget
Returns the type of widget that is used to enter the parameter within the user interface.
Syntax
widget = bdeGetBlockParameterWidget(block, parameter)
Inputs
- block
- The block that the parameter is in.
- parameter
- The parameter of which the widget to get the type of is in.
Outputs
- widget
- The type of widget that is used in the user interface to set the parameter.
Examples
Get the type of widget used by a block for it's parameters:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
widget = bdeGetBlockParameterWidget(block, 'gain');
widget = entry
Get the type of widget used by a block for it's parameters:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
widget = bdeGetBlockParameterWidget(block, 'overflow');
widget = listbox