TCoolBands.FindBand function
Gets the collection item which contains the specified control.
Declaration
function FindBand(AControl: TControl): TCoolBandArguments
AControl | Control to locate in the collection items. |
Function result
TCoolBand instance with the specified control, or Nil when not found.
Description
FindBand iterates over the values in
Items to locate
the
TCoolBand instance which contains the control specified in
AControl. The return value is the TCoolBand instance in the
collection, or
Nil if AControl is not used in one of the collection
Items.
Use FindBandIndex to get the ordinal position in the collection
for the collection item which contains a specified control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
