System.Classes.TComponent.GetNamePath

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetNamePath: string; override;

C++

DYNAMIC System::UnicodeString __fastcall GetNamePath();

Properties

Type Visibility Source Unit Parent
function public
System.Classes.pas
System.Classes.hpp
System.Classes TComponent

Description

Returns a string used by the Object Inspector.

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.

See Also