TdxSpreadSheetOptionsView.HorizontalScrollBar Property
Specifies if the Spreadsheet or Report Designer control displays the horizontal scrollbar.
Declaration
property HorizontalScrollBar: 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 horizontal scrollbar for the active worksheet if one of the following conditions is met:
The HorizontalScrollBar property is set to True and the worksheet’s Options.HorizontalScrollBar property is set to bDefault;
The worksheet’s Options.HorizontalScrollBar property is set to bTrue.
Hiding the horizontal scrollbar does not forbid horizontal scrolling. An end-user can still scroll the active worksheet by moving the cell focus left or right.
The Options.HorizontalScrollBar property values of individual worksheets within a spreadsheet document always have priority over the “global” HorizontalScrollBar property. For instance, if the worksheet’s Options.HorizontalScrollBar property is not set to bDefault, the HorizontalScrollBar property has no effect on availability of the horizontal scrollbar. Refer to the TdxSpreadSheetTableViewOptions.HorizontalScrollBar property description for additional information.
The default value of the HorizontalScrollBar property is True.