[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Inserts a band for the specified control at the ordinal position in Index.
Source position: comctrls.pp line 2635
public procedure TCustomCoolBar.InsertControl( |
AControl: TControl; |
Index: Integer |
); override; |
AControl |
|
Control for the TCoolBand instance created and stored in the method. |
Index |
|
Ordinal position in Bands where the new band is stored. |
InsertControl is an overridden method in TCustomCoolBar. It calls the inherited method on entry to align and parent the control in AControl.
No additional actions are performed in the method if AControl is not a TWinControl descendant.
InsertControl checks for an existing band in the Bands collection which uses the control in AControl. If one does not already exist, a TCoolBand instance is created for the control and stored in the collection.
|
Inserts the specified control into the Controls property. |
Version 4.0 | Generated 2025-05-03 | Home |