EControl Form Designer Pro
TzCustomFormDesigner.GetComponentName Method

Returns the name of the component passed as its parameter.

function GetComponentName(Component: TComponent): string;

Call GetComponentName to obtain the name of a component. This is the inverse of GetComponent


Note: If the component is in the current root object, GetComponentName returns the Name property of the component itself. If the component is in another entity, GetComponentName qualifies the component name with the name of the object in which it resides. 

Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!