Sign in Join
FPDoc Onlineexperiment

TCustomControlBar.GetControlInfo procedure

Member of TCustomControlBarprotectedIn unit ExtCtrls

Signals the OnBandInfo event handler to store control information to the arguments for the method.

Declaration

pascal
procedure GetControlInfo(AControl: TControl; var Insets: TRect; 
 var PreferredSize: Integer; 
 var RowCount: Integer); virtual

Description

GetControlInfo is called from the InsertControl method when the specified control is positioned, aligned, and added to the internal TCtrlBands container for the control bar. GetControlInfo signals the OnBandInfo event handler (when assigned) to store information about the bounds rectangle, width, and number of rows needed for the control / band. Values are returned in the Insets, PreferredSize, and RowCount variable arguments.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.