RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPropertyEditor.GetName Method

Returns the name of the property.

Pascal
function GetName: string; virtual;
C++
virtual __fastcall AnsiString GetName();

The Object Inspector calls GetName to obtain the property name that it displays. GetName returns the name of the property from the property type information with all underbars replaced by spaces. Override this method if the Object Inspector should display a string other than the property name. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!