bdeSetBlockParametersEditorCurrentFieldValue
Sets the value for a subparameter using an editor. The variable value can be different types depending on what the parameter that is being set is.
Syntax
bdeSetBlockParametersEditorCurrentFieldValue(editor, parameter, fieldNum, value)
Inputs
- editor
 - The editor of the block.
 - parameter
 - The parameter of which the subparameters are in. Can be of type string or hwscpBlockParameter.
 - fieldNum
 - The number that correlates to which subparameter to get the value of.
 - value
 - The value to set for the parameter.
 
Examples
          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          widget = bdeGetTopLevelWidget();
          dialog = bdeCreateBlockParametersDialogFromBlock(block, widget, false);
          blockEditor = bdeGetBlockParametersEditor(dialog);
          bdeSetBlockParametersEditorCurrentFieldValue(blockEditor, 'parameter1', 1, 'testSubParameter1');