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.
Type: editor

Outputs

edited
A boolean that represents whether or not the editor has been modified.
Type: Boolean

Examples

Check to see if an editor has made any changes:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          widget = bdeGetTopLevelWidget();
          dialog = bdeCreateBlockParametersDialogFromBlock(block, widget, false);
          editor = bdeGetBlockParametersEditor(dialog);
          bdeSetBlockParmatersEditorCurrentFieldValue(editor, 'parameter1', 1, 'ChangedValue')
          edited = bdeHadBlockParametersEditorModifiedParameters(editor);
        

          
            edited = 1