[Overview][Types][Classes][Procedures and functions][Index] |
Specifies an event handler used to get layout and positioning information for a control on a band in TControlBar.
Source position: extctrls.pp line 1466
type TBandInfoEvent = procedure( |
Sender: TObject; |
Control: TControl; |
var Insets: TRect; |
var PreferredSize: Integer; |
var RowCount: Integer |
) of object; |
Sender |
|
Object (TCustomControlBar) for the notification event. |
Control |
|
Control for the event notification. |
Insets |
|
Bounds rectangle for the specified control. |
PreferredSize |
|
Default width for the control on entry. Can be updated in the handler routine. |
RowCount |
|
Number of rows that can be displayed based on the Height and RowSize for the control bar. |
TBandInfo is the type used to implement the OnBandInfo event handler in TCustomControlBar.
|
Event handler signalled to get the insets rectangles, preferred size, and row count for the control bar. |
|
|
Signals the OnBandInfo event handler to store control information to the arguments for the method. |
|
|
Creates and stores a new band for the specified control. |
Version 3.2 | Generated 2024-02-25 | Home |