[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Determines the visibility of the 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; |
HsbVisible |
|
Returns the visibility for the horizontal scroll bar. |
VsbVisible |
|
Returns the visibility for the vertical scroll bar. |
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.
|
Gets the values for the scroll bar visibility flags in the control. |
Version 3.2 | Generated 2024-02-25 | Home |