RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComponentProperty.GetProperties Method

Provides the subproperties of the property to a callback procedure.

Pascal
procedure GetProperties(Proc: TGetPropProc); override;
C++
virtual __fastcall GetProperties(TGetPropProc Proc);

The Object Inspector calls GetProperties when the property is expanded to show subproperties. The GetProperties method of TPropertyEditor does nothing. Property editors that return paSubProperties from the GetAttributes method should override GetProperties to create an appropriate property editor and pass its IProperty interface to the Proc parameter for every subproperty (or nested property) of the property. 

 

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