RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IProperty.GetAttributes Method

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

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

The Object Inspector calls GetAttributes to determine what controls to display for the property and what property editor methods to call. GetAttributes returns a set of flags that provide this information. 

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. 

 

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