JavaScript Editor js editor     Web development 

Main Page

This class creates a GoTo Record dialog box.

Category Data Navigation

Default Catalog

VisualВ FoxProВ Catalog\FoundationВ Classes\DataВ Navigatio n



Class Library


Parent Class





To use, drop the class on a project or, from the Component Gallery Item shortcut menu, select Create Form. When you drop the class on a project, you can choose between adding the class, creating a subclass, or creating a form. When you drop the class on a project or choose Create a new form from the selected class in the shortcut menu, Visual FoxPro opens a builder so you can specify the name of the form, then creates and opens the form in the Form Designer.

_GoToDialog is a modal dialog box with a _TableNav member and a spinner to allow the user to specify a record number. When you click OK, the GoToRecord method navigates to the specified record, then runs the RefreshLastWindowAfterChange method to update the display. Note that GoToRecord(В ) updates the display even if the table does not permit navigation, in case you revert a change.

_GoToDialog uses _TableNav to determine the current alias at startup. It then sets the spinner SpinnerLowValue and KeyboardLowValue to 1 and SpinnerHighValue and KeyboardHighValue to RECCOUNT(В ). It also sets the spinner Value property appropriately.

Properties, Events, Methods Description

RefreshUIAfterChange method

Internal to the class.

See Also

JavaScript Editor js editor     Web development