TCustomDBGrid.GetSBVisibility procedure
Determines the visibility of the horizontal and vertical scroll bars for the control.
Declaration
procedure GetSBVisibility(out HsbVisible: Boolean;
out VsbVisible: Boolean); overrideArguments
HsbVisible | Returns the visibility for the horizontal scroll bar. |
VsbVisible | Returns the visibility for the vertical scroll bar. |
Description
GetSBVisibility is an overridden procedure used to determine the
visibility of horizontal and vertical scroll bars for the control.
GetSBVisibility calls the inherited method to use the logic implemented in
the ancestor class. GetSBVisibility overrides the value used for the vertical
scroll bar; it is set to
True when ScrollBars contains ssVertical or
ssBoth. ScrollBarAutomatic is called when the vertical scroll bar is not
visible, and the GetScrollbarParams method is used to update the vertical
scroll bar settings.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
