The position of the vertical scrollbar.

Usage

Set_Property(OLECtrlEntID, "OLE.Top", Value)

Values

Value can be any positive or negative whole number:

Default: 0

Remarks

The Top property determines the current location of the vertical scrollbar. A value of zero indicates the scrollbar is all the way to the top.

Set this property to programmatically scroll the panel.

Example

// Get the current vertical scroll position 
TopPos = Get_Property(@Window:".OLE_PANEL", "OLE.Top") 

// Scroll 25 pixels to upward 
Set_Property(@Window:".OLE_PANEL", "OLE.Top", TopPos - 25)

See Also

Left

  • No labels