Paragraph.SetScrollPos

Paragraph.SetScrollPos ( 

string  ObjectName,

number  ScrollPos,

boolean Vertical = true )

Example 1

Paragraph.SetScrollPos("Info Text", 25, true);

Sets the "Info Text" paragraph object's vertical scroll bar handle position to line 25.

Example 2

Paragraph.SetScrollPos("License Agreement", 0, false);

Sets the "License Agreement" paragraph object's horizontal scroll bar handle position to the value 0. This means the horizontal scroll bar handle will be moved to the left hand side (beginning) of the scroll bar.

See also:  Related Actions