DesignEditors.TPropertyEditor.SetPropEntry

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetPropEntry(Index: Integer; AInstance: TPersistent;  APropInfo: PPropInfo); override;

C++

virtual void __fastcall SetPropEntry(int Index, System::Classes::TPersistent* AInstance, System::Typinfo::PPropInfo APropInfo);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
DesignEditors.pas
DesignEditors.hpp
DesignEditors TPropertyEditor

Description

Informs the property editor of a particular object whose property is to be edited.

The Object Inspector calls SetPropEntry for each object that has a property that the property editor is editing. This allows the property editor to store information about the objects being edited so that it can get and set property values.

Index is the index of the object being edited. This value can range from 0 to one less than the value of the PropCount property.

AInstance is a reference to the object being edited. This is later used to supply the value that the GetComponent method returns.

APropInfo is a pointer to the property information record for the property on AInstance. This is later used to supply the value that the GetPropInfo method returns.

See Also