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
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
widget = bdeGetBlockParameterWidget(block, 'gain');
widget = entry
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
widget = bdeGetBlockParameterWidget(block, 'overflow');
widget = listbox