Sign in Join
FPDoc Onlineexperiment

TCustomGrid.ScrollBarAutomatic function

Member of TCustomGridprotectedIn unit Grids

Indicates whether an automatic scroll bar of the given type is used on the grid control.

Declaration

pascal
function ScrollBarAutomatic(Which: TScrollStyle): Boolean; virtual

Arguments

Which

Scrollbar type (ssHorizontal or ssVertical) checked in the method.

Function result

True if an automatic scroll bar is used for the specified type.

Description

Translates the value in Which to the automatic equivalent (ssAutoVertical, ssAutoHorizontal, ssAutoBoth), and checks the ScrollBars property for the value(s).

See also

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