Data Navigation Buttons Foundation Class

This class is a set of navigation buttons that includes Top, Next, Prev, and Bottom buttons. It also contains the DataChecker class to check for conflicts during navigation betweeen records.

Category Data Navigation

Default Catalog

Visual FoxPro Catalog\Foundation Classes\Data Navigation

Class

_datanavbtns

Base Class

Container

Class Library

_datanav.vcx

Parent Class

_container

Sample

...\Samples\Solution\Forms\single.scx

Remarks

To use, drop the class on a project or form in a data environment or, from the Component Gallery Item shortcut menu, select Add to Project or Add to Form. When you add the class to a form, you should provide input and output objects. When you drop the class on a project, you can choose between adding the class or creating a subclass.

See Guidelines for Using Visual FoxPro Foundation Classesfor more information on using foundation classes.

Properties, Events, Methods Description

cSkipTable property

The table within which to move the pointer.

Default: ""

lEnableDisableOnInit property

Specifies whether the navigation buttons are enabled when they are first loaded.

Default: .T.

RecordPointerMoved method

Called each time the record pointer is moved, providing a new event for the class.

Syntax: RecordPointerMoved( )

Return: none

Arguments: none

EnableDisableButtons method

Enables or disables buttons based on the record pointer location.

Syntax:EnableDisableButtons( )

Return: none

Arguments: none

BeforeRecordPointerMoved method

Called before the record pointer is moved to determine if the table contains records.

Syntax: BeforeRecordPointerMoved( )

Return: none

Arguments: none

See Also

Reference

Visual FoxPro Foundation Classes A-Z

Concepts

Guidelines for Using Visual FoxPro Foundation Classes

Other Resources

Foundation Class Samples