RAD Studio VCL Reference
TComponent.GetNamePath Method

Returns a string used by the Object Inspector.

function GetNamePath: string; override;
virtual __fastcall AnsiString GetNamePath();

GetNamePath is used to determine the text to display in the Object Inspector for the name of the object being edited. GetNamePath is introduced in TPersistent so descendants such as collections can appear in the Object Inspector. TComponent overrides GetNamePath to return the component's name. Do not call GetNamePath directly. 


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