[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets the ordinal position for the collection item which contains the specified control.
Source position: comctrls.pp line 2543
public function TCoolBands.FindBandIndex( |
AControl: TControl |
):Integer; |
AControl |
|
Control to locate in the collection items. |
Ordinal position for the collection item with the specified control, or -1 when not found.
FindBandIndex is an Integer function used to get the ordinal position for the collection item which contains the control specified in AControl. FindBandIndex iterates over the values in Items to locate the TCoolBand instance whose Control property is the control specified in AControl. The return value is the position in the Items, or -1 if AControl is not used in one of the collection Items.
Use FindBand to get the collection item which contains a specified control.
|
Provides indexed access to the TCoolBand instances in the collection. |
|
|
Gets the collection item which contains the specified control. |
|
|
Implements a band displayed on the TCoolBar control. |
Version 4.0 | Generated 2025-05-03 | Home |