TStatusBar.DoAutoAdjustLayout procedure
Performs actions needed to apply the layout policy in AMode.
Declaration
procedure DoAutoAdjustLayout(const AMode: TLayoutAdjustmentPolicy;
const AXProportion: Double;
const AYProportion: Double); overrideArguments
AMode | |
AXProportion | Horizontal sizing factor applied to panels in the status bar. |
AYProportion | Vertical sizing factor applied to panels in the status bar. |
Description
Calls BeginUpdate to reduce the number of refreshes needed when
updating panels in the status bar. Adjusts the width of all items in the
Panels collection using the factor in AXProportion. The
value in AYProportion is ignored in the method. Calls
EndUpdate prior to exit from the method.
No actions are performed in the method when
AMode contains a
TLayoutAdjustmentPolicy value other than
lapAutoAdjustWithoutHorizontalScrolling or
lapAutoAdjustForDPI.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
