RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TGraphic.Modified Property

Indicates whether the graphics object has been changed or edited.

Pascal
property Modified: Boolean;
C++
__property Boolean Modified;

If Modified is true, the graphic object has changed. If Modified is false, the graphics object is in the same state as when the object was loaded. 

The Modified property indicates only if bitmap objects have been modified. Modified is not true if the graphics object contains an icon or metafile graphic, even if they have been modified. 

If the graphics object was modified, save the changes to a file with the SaveToFile method. The next time the application runs, it can load the graphic from the file with the LoadFromFile method. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!