Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PosNameTypeDescriptionDefault
<1>HorizontalIntegerThe horizontal scrollbar position0
<2>VerticalIntegerThe vertical scrollbar position0

...


The ScrollPos property only works so long as the Layout property is set to "Pan".

...

Code Block
// Get the current scroll position 
ScrollPos = Get_Property(@Window:".OLE_PICTURE", "OLE.ScrollPos") 

// Scroll to position 10, 10 
Set_Property(@Window:".OLE_PICTURE", "OLE.ScrollPos", 10:@FM:10)

See Also

Layout