info(“formxy”)

The info(“formxy”) function returns a point that indicates how much the current form is scrolled (if at all).


Description

This function returns a point that indicates how much the current form is scrolled (if at all). This example checks to see if the form is scrolled, and if not, displays a message.

if info("formxy")=point(0,0)
    nsnotify "Not scrolled!"
endif

If you want to scroll the form to a specific spot, use the formxy function. This example scrolls the form down by 1 inch.

let scrollspot = info("formxy")
formxy v(scrollspot)+72, h(scrollspot)

See Also


History

VersionStatusNotes
10.0NewNew in this version.