TdxSpreadSheetOptionsView.VerticalScrollBar Property
Specifies if the Spreadsheet or Report Designer control displays the vertical scrollbar.
Declaration
property VerticalScrollBar: Boolean read; write; default True;
Property Value
Type | Default |
---|---|
Boolean | True |
Remarks
The HorizontalScrollBar and VerticalScrollBar properties determine the “global” horizontal and vertical scrollbar visibility settings, respectively. The control displays the vertical scrollbar for the active worksheet if one of the following conditions is met:
The VerticalScrollBar property is set to True and the worksheet’s Options.VerticalScrollBar property is set to bDefault;
The worksheet’s Options.VerticalScrollBar property is set to bTrue.
Hiding the vertical scrollbar does not forbid vertical scrolling. An end-user can still scroll the active worksheet by moving the cell focus up or down.
The Options.VerticalScrollBar property values of individual worksheets within a spreadsheet document always have priority over the “global” VerticalScrollBar property. For instance, if the worksheet’s Options.VerticalScrollBar property is not set to bDefault, the VerticalScrollBar property has no effect on availability of the vertical scrollbar. Refer to the TdxSpreadSheetTableViewOptions.VerticalScrollBar property description for additional information.
The default value of the VerticalScrollBar property is True.