bdeHadBlockParametersEditorModifiedParameters
Returns whether or not an editor has modified any of its parameters.
Syntax
edited = bdeHadBlockParametersEditorModifiedParameters(editor)
Inputs
- editor
- The editor to check to see if anything as been modified.
Outputs
- edited
- A boolean that represents whether or not the editor has been modified.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
widget = bdeGetTopLevelWidget();
dialog = bdeCreateBlockParametersDiaglogFromBlock(block, widget, false);
editor = bdeGetBlockParametersEditor(dialog);
bdeSetBlockParmatersEditorCurrentFieldValue(editor, 'parameter1', 1, 'ChangedValue')
edited = bdeHadBlockParametersEditorModifiedParameters(editor);
edited = 1