Sign in Join
FPDoc Onlineexperiment

TCustomControlBar.Resize procedure

Member of TCustomControlBarprotectedIn unit ExtCtrls

Signals the OnResize event handler (when assigned) and re-aligns bands and their controls.

Declaration

pascal
procedure Resize; override

Description

Resize is an overridden method in TCustomControlBar. It calls the inherited method on entry to handle delayed auto-sizing requests and signal the OnResize event handler (when assigned).

When AutoSize is False, the visible TCtrlBand instances on the control are initialized, aligned, and positioned. The controls on the bands are also aligned for each of visible bands. Invalidate is called to force the control to be redrawn.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.