Executes a callback for every component that can be assigned a property of a specified type.
procedure GetComponentNames(TypeData: PTypeData; Proc: TGetStrProc);
Use GetComponentNames to call the procedure specified by the Proc parameter for every component that can be assigned a property that matches the TypeData parameter. For each component, Proc is called with its S parameter set to the name of the component. This parameter can be used to obtain a reference to the component by calling the GetComponent method.
Note: GetComponentNames calls Proc for components in global components that can be defined using TDesignerEvents.OnGetGlobalComponents event handler.
Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
|
What do you think about this topic? Send feedback!
|