The visibility preference for the scroll bars.
Usage
Set_Property(OLECtrlEntID, "OLE.ScrollBarsVisible", Array)
Values
Array has the following structure:
| Pos | Name | Type | Description | Default |
|---|---|---|---|---|
| <1> | Vertical ScrollBar | Option | Vertical ScrollBar Visibility Preference | Auto |
| <2> | Horizontal ScrollBar | Option | Horizontal ScrollBar Visibility Preference | Auto |
Remarks
The ScrollBarsVisible property can be used to establish when the scroll bars appear. Each scroll bar can have one of the following visibility preference:
| Value | Abbr. | Description |
|---|---|---|
| Auto | A | ScrollBar appears only when necessary |
| Always | AL | ScrollBar is always visible, but disabled when no scrolling is necessary |
| Never | N | ScrollBar is never visible, but the user can still scroll using the navigation keys or the mouse wheel |
This property is useful for syncronizing tables or aligning multiple OLE EditTables.
Example
// Never show the scrollbars Set_Property(@Window:".OLE_EDITTABLE", "OLE.ScrollBarsVisible", "Never":@FM:"Never") // Always show the scrollbars Set_Property(@Window:".OLE_EDITTABLE", "OLE.ScrollBarsVisible", "Always":@FM:"Always") // Always show the verticle scrollbars of two syncronized tables, // but never show the horizontal bar for the first table Set_Property(@Window:".OLE_EDITTABLE_1", "OLE.ScrollBarsVisible", "Always":@FM:"Never") Set_Property(@Window:".OLE_EDITTABLE_2", "OLE.ScrollBarsVisible", "Always")