Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu on non-toplevel form
Message
De
10/06/2003 09:49:46
 
 
À
10/06/2003 09:30:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00798293
Message ID:
00798344
Vues:
33
Fabio, I had asked the same question a while back and here is the way I did it.

Create a procedure or program to setup your menu which will include:

DEFINE MENU Route_Status_Menu BAR AT LINE .1 IN WINDOW frmRoute_Status

then do all the define pads, bars, popups, on selections, etc.

at the bottom of the menu setup code:

ACTIVATE MENU Route_Status_Menu NOWAIT

In the init event of the form, call the procedure or program to setup and activate the menu.

Jason



>Hi Walter,
>
>VFP Form menù, declared with DEFINE MENU ... BAR IN topFormName
>are "WINDOWS MENù", not VFP menù.
>Windows menù can to be exist only on Top Window Frame ( AS Top ), not on child window ( In Top form ).
>
>In fact _SYSMENU is on _VFP window, not on _SCREEN window.
>
>You can only build a surrogate menu:
>DEFINE MENU ... IN childFormName
>
>but VFP not remove graphics area, not activate it automatically ...
>
>You must do all with your code.
>
>Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform