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).

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.

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

See Also


History

VersionStatusNotes
10.0NewNew in this version.