RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDesigner60.Revert Method

Restores a specified property to its value before any edits were made.

Pascal
procedure Revert(Instance: TPersistent; PropInfo: PPropInfo);
C++
__fastcall Revert(TPersistent * Instance, PPropInfo PropInfo);

Call Revert to undo all changes that have been made to the property specified by the PropInfo parameter on the object specified by the Instance parameter. Revert restores the property to the setting it had when Instance was first created. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!