Information générale
Catégorie:
Gestionnaire de menu & Menus
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement