Skip to main content

TdxListGroups.FindByHeader(string,TdxListGroup) Method

Searches the collection for a group with the specified header text.

Declaration

function FindByHeader(const AHeader: string; out AGroup: TdxListGroup): Boolean;

Parameters

Name Type Description
AHeader string

A group header text.

AGroup TdxListGroup

The found group.

Returns

Type Description
Boolean

True if the function finds a group with the specified header text; otherwise, False.

Remarks

A FindByHeader function call returns the first group in the collection whose Header property value equals the AHeader parameter value.

See Also