TdxLayoutContainer.FindItem(string) Method
Finds a layout item by its name or by a specific control (or its handle) associated with the item.
Declaration
function FindItem(const AName: string): TdxCustomLayoutItem; overload;
Parameters
Name | Type |
---|---|
AName | string |
Returns
Type |
---|
TdxCustomLayoutItem |
Remarks
Use the FindItem method to return a specific ExpressLayout Control item/group. You can use the FindItem method to find an item, associated with a specific control. Each item is designed to be a container for any control derived from the TControl object. Therefore, every ExpressLayout Control item has a Control property that contains the associated control name. You can find the appropriate ExpressLayout Control item if you know with which control this item is connected.
Use the FindItem method to find the appropriate ExpressLayout Control item/group if you know its name.
AControl specifies the name of an associated control.
AControlHandle specifies the handle of an associated control.
AName specifies the name of the desired item/group.