TBandInfoEvent procedure type
Specifies an event handler used to get layout and positioning information for a control on a band in TControlBar.
Declaration
TBandInfoEvent = procedure(Sender: TObject; Control: TControl;
var Insets: TRect;
var PreferredSize: Integer;
var RowCount: Integer) of objectArguments
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. |
Description
TBandInfo is the type used to implement the OnBandInfo event handler in TCustomControlBar.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
