Equinox Online Help - Language Reference - A to Z

Home

ChangePage

Applies to
SyntaxChangePage PageExpression
Action[Statement] Selects a new form page.
ScopeOnly usable in form methods.
Notes

This statement allows you to select a form page, from within a method. The argument, PageExpression, is the page's object name. Note that an object name is a string. If supplied as a constant, it must be enclosed in quotation marks.

This statement is particularly useful for form button methods. eg You could create a button that allows the user to move to a new form page.

If the page cannot be located, an error number is stored in the system workarea SysError.

CategoryForms
See Also ChangeEditLine, ChangeGroup, ChangeObject, ChangePage, CurrentEventName, CurrentGroupName, CurrentObjectName, CurrentPageName, DefaultHelp, EnableGroup, EnablePage, Get, IsPageScroll, NextObjectName, Set, SetDefaultHelp, SetEquinoxTitle, SetPageScroll, SetPageTitle, ShowPage
Example

The following example moves the input focus to the second page of a form group.

ChangePage "Page2"