DesignIntf.IDesigner60.Revert

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
procedure
function
public
DesignIntf.pas
DesignIntf.hpp
DesignIntf IDesigner60

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