Search
FlowChart.Dirty Property
See Also
 



Gets or sets a value indicating whether the diagram has changed after it was last saved.

 Syntax

VB6  Copy Code

Public Property Get Dirty() As Boolean
Public Property Let Dirty( _
    ByVal value As Boolean _
)

C++  Copy Code

public:
bool get_Dirty ()
void put_Dirty (
    bool value
)

 Property Value

A boolean value.

 Remarks

This property indicates whether the document contents have been changed. The flag is set each time a diagram object is modified, either programmatically or by the user. It is cleared when a document is loaded, and optionally when the document is saved.

In addition to setting this flag when the diagram changes, the control also notifies its container by calling the OnDataChange method of the IAdviseSink OLE interface.

By default, Dirty is also set when selection state of items change. To prevent that, set the fDisableSelectionDirtyFlag bit of the EventFlags property.

 See Also