Skip to main content

TdxListGroups.FindByGroupID(Integer) Method

Searches the collection for a group with the specified identifier.

Declaration

function FindByGroupID(AGroupID: Integer): TdxListGroup;

Parameters

Name Type Description
AGroupID Integer

A group identifier.

Returns

Type Description
TdxListGroup

A list group.

Remarks

A FindByGroupID function call returns the first group in the collection whose GroupID property value equals the AGroupID parameter value. If the collection has no group with the specified identifier, the FindByGroupID function returns nil (in Delphi) or nullptr (in C++Builder).

See Also