Determines the visibility of horizontal and vertical scroll bars for the control.
Source position: dbgrids.pas line 484
protected procedure TCustomDBGrid.GetSBVisibility( |
out HsbVisible: Boolean; |
out VsbVisible: Boolean |
); override; |
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 scrollbar settings.
|
Gets the values for the scrollbar visibility flags in the control. |