This is a shortcut menu that can be dropped onto a form with items for common data navigation, sorting, filtering and finding options. You call this class from the RightClick event of a form.
| Category | Menus |
|---|---|
|
Default Catalog |
VisualВ FoxProВ Catalog\FoundationВ Classes\UserВ Controls |
|
Class |
_navmenu |
|
Base Class |
Container |
|
Class Library |
_table2.vcx |
|
Parent Class |
_container |
|
Sample |
...\Samples\Solution\Ffc\datasort.scx |
Remarks
To use, drop the class on a project or form or, from the Component Gallery Item shortcut menu, select Add to Project or Add to Form. When you add the class to a form, Visual FoxPro prompts you to automatically add the necessary code to implement the shortcut menu. 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 |
|---|---|
|
cClass property |
Specifies the class of the dialog box containing the shortcut menu. Default: "" |
|
cClasslib property |
Specifies the class library containing the class of the dialog box containing the shortcut menu. Default: "" |
|
DoMenu method . |
Runs a menu routine.
Syntax:
Return: none Arguments: none |
|
RefreshForm method |
Refreshes the active form when data is updated.
Syntax:
Return: none Arguments: none |
|
DeleteRecord method |
Deletes the current record.
Syntax:
Return: none Arguments: none |
|
AddRecord method |
Adds a new record.
Syntax:
Return: none Arguments: none |
|
DoFilter method |
Displays a filter dialog box.
Syntax:
Return: none Arguments: none |
|
DoGoto method |
Displays a GoTo dialog box.
Syntax:
Return: none Arguments: none |
|
DoSort method |
Displays a Sort dialog box.
Syntax:
Return: none Arguments: none |
|
DoDialog method |
Displays a dialog box.
Syntax:
Return: none Arguments: none |
|
SetMenu method |
Specifies the menu contents through code containing AddMenuBar(В ) expressions.
Syntax:
Return: none Arguments: none |
|
DoFilter2 method |
Displays an Advanced Filter dialog box.
Syntax:
Return: none Arguments: none |
js editor
Web development