RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMethodProperty.GetAttributes Method

Describes the property so the Object Inspector provides the appropriate controls.

Pascal
function GetAttributes: TPropertyAttributes; override;
C++
virtual __fastcall TPropertyAttributes GetAttributes();

The Object Inspector calls GetAttributes to determine what controls to display for the property and what property editor methods to call. The GetAttributes method of TPropertyEditor returns [paMultiSelect, paRevertable]. Override GetAttributes to return the set of values that corresponds to the attributes of the associated property. 

Before the Object Inspector calls the Activate method, GetAttributes does not need to provide accurate information about any attributes other than paSubProperties, paVCL, and paMultiSelect. 

 

Activate 

Edit 

GetProperties 

GetValues 

setvalue 

Value 

ListDrawValue 

ListMeasureHeight 

ListMeasureWidth

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