The visibility preference for the scroll bars.

Usage

Set_Property(OLECtrlEntID, "OLE.ScrollBarsVisible", Array)

Values

Array has the following structure:

PosNameTypeDescriptionDefault
<1>Vertical ScrollBarOptionVertical ScrollBar Visibility PreferenceAuto
<2>Horizontal ScrollBarOptionHorizontal ScrollBar Visibility PreferenceAuto

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:

ValueAbbr.Description
AutoAScrollBar appears only when necessary
AlwaysALScrollBar is always visible, but disabled when no scrolling is necessary
NeverNScrollBar 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")
  • No labels