DesignIntf.IDesigner60.Revert

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
DesignIntf.pas
DesignIntf.hpp
Unit: DesignIntf
Parent: IDesigner60

Delphi

procedure Revert(Instance: TPersistent; PropInfo: PPropInfo);

C++

virtual void __fastcall Revert(System::Classes::TPersistent* Instance, System::Typinfo::PPropInfo PropInfo) = 0 ;

Description

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

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.

See Also