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:
Return: none Arguments: none |
|
EnableDisableButtons method |
Enables or disables buttons based on the record pointer location.
Syntax:
Return: none Arguments: none |
|
BeforeRecordPointerMoved method |
Called before the record pointer is moved to determine if the table contains records.
Syntax:
Return: none Arguments: none |
js editor
Web development