[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets the collection item which contains the specified control.
Source position: comctrls.pp line 2542
public function TCoolBands.FindBand( |
AControl: TControl |
):TCoolBand; |
AControl |
|
Control to locate in the collection items. |
TCoolBand instance with the specified control, or Nil when not found.
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.
|
Provides indexed access to the TCoolBand instances in the collection. |
|
|
Gets the ordinal position for the collection item which contains the specified control. |
|
|
Implements a band displayed on the TCoolBar control. |
Version 4.0 | Generated 2025-05-03 | Home |