Toggles display of a horizontal scroll bar.


Usage

Set_Property(OLECtrlEntID, "OLE.HorizontalScroll", Boolean)

Values

[True | False]

Default: False

Remarks

The HorizontalScroll property can be used to show allow columns to extent past the right bounds of the control. As long as HorizontalScroll is set to 0, columns are autosized to fit within the width of the control. However, once you set HorizontalScroll to 1, two things happen: 1) all autosizing is disabled and columns remain a fixed width and 2) a horizontal scrollbar appears so the user can scroll other columns into view.

Although autosizing is disabled when setting HorizontalScroll to 1, the user may still resize columns manually--so long as the column is resizable.

Example

// Turn on horizontal scrolling and disable autosizing 
Set_Property(@Window:".OLE_REPORTTABLE", "OLE.HorizontalScroll", 1)
  • No labels