GotoFormPage method (WinStudio scripts)

Applies To

IWSForm interface

Definition

Finds and displays a specified form page.

Syntax

object.GotoFormPage( integer )

  Part   Description
object Required. The name of a valid form object.
integer Required. An integer indicating the number of the form page.

Remarks

Index numbers for form pages are zero-based.

If you try to use this method with a form that does not have multiple pages, or you reference a page that does not exist, this method does nothing.

Example

Sub Main()
   ' Since this method uses a zero-based index, 
   ' this brings up the second form page.
   Application.FindForm("formName").GotoFormPage(1)
End Sub