Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
| 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
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.
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 Classes for 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: Domenu( ) Return: none Arguments: none |
| RefreshForm method | Refreshes the active form when data is updated. Syntax: RefreshForm( ) Return: none Arguments: none |
| DeleteRecord method | Deletes the current record. Syntax: DeleteRecord( ) Return: none Arguments: none |
| AddRecord method | Adds a new record. Syntax: AddRecord( ) Return: none Arguments: none |
| DoFilter method | Displays a filter dialog box. Syntax: DoFilter( ) Return: none Arguments: none |
| DoGoto method | Displays a GoTo dialog box. Syntax: DoGoto( ) Return: none Arguments: none |
| DoSort method | Displays a Sort dialog box. Syntax: DoSort( ) Return: none Arguments: none |
| DoDialog method | Displays a dialog box. Syntax: DoDialog( ) Return: none Arguments: none |
| SetMenu method | Specifies the menu contents through code containing AddMenuBar( )expressions. Syntax: SetMenu( ) Return: none Arguments: none |
| DoFilter2 method | Displays an Advanced Filter dialog box. Syntax: DoFilter2( ) Return: none Arguments: none |
See Also
Guidelines for Using Visual FoxPro Foundation Classes | Visual FoxPro Foundation Classes A-Z | Visual FoxPro Foundation Class Samples