Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design menu in a form,such as VB can do.
Message
De
06/01/1997 14:19:00
 
 
À
06/01/1997 10:20:20
F Joseph
Xinjiang Electric Power Company
Urumqi, Chine
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00016542
Message ID:
00016565
Vues:
37
>in VFP yellow download corner, has a VCX named
>"menulib",it first see menu as an object. it's a new idea for OOP.
>
>but it don't solve this question that menu use in a form.
>such as VC++ and VB can do.
>
>it is important in program.
>
>could you tell me how to do? or there are any example
>for it?

Solution for VFP 5.0 only:

You can put a menu in a top level form...it isn't clear how to do it..and there is a gotcha..

In the Init of the top level Form you want to

DO menu.MPR WITH This

Howver, there are some bugs with adding/removing menu options after the main menu has been displayed...any menu pad that you add, won't be displayed until you click on the menu...ICK

I've heard that if you resize the form, that it will cause the menu to be redisplayed properly, but I haven't tried this.

Craig
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform