Sign in Join
FPDoc Onlineexperiment

TBandInfoEvent procedure type

In unit ExtCtrls

Specifies an event handler used to get layout and positioning information for a control on a band in TControlBar.

Declaration

pascal
TBandInfoEvent = procedure(Sender: TObject; Control: TControl; 
 var Insets: TRect; 
 var PreferredSize: Integer; 
 var RowCount: Integer) of object

Arguments

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.