bdeSetWidgetVisibilityCurrentValue
Sets the flag for the visible flag of a parameter.
Syntax
bdeSetWidgetVisibilityCurrentValue(editor, parameter, flag)
Inputs
- editor
- The editor of the block.
- parameter
- The parameter of which to set the visible flag. Can be a string or hwscpBlockParameter.
- flag
- The value to set for the visible flag.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
widget = bdeGetTopLevelWidget();
dialog = bdeCreateBlockParametersDiaglogFromBlock(block, widget, false);
blockEditor = bdeGetBlockParametersEditor(dialog);
bdeSetWidgetVisibilityCurrentValue(blockEditor, 'parameter1', false);
bdeApplyBlockParametersEditor(blockEditor);