Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Marked bars in shourcut menus not working
Message
De
06/08/1999 18:21:55
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00250821
Message ID:
00250958
Vues:
28
>I need to be able to display a mark on the bar of a shortcut menu. It seems that every time i right-click and bring up the menu with 'DO menuname.mpr' it reinits the menu with no marks. I tried to create a method on the calling form that would set the marks but this didn't work. I have done this before on regular menus and had no problems. There has to be a way to do this and i just cant think of any more things to try, would i have to put a procedure with in the menu?...any help would be greatly appreciated :)

This is probably because the .mpr will redefine the popup every time it gets run, so it resets the marks.

Copy the .MPR to a .prg and modify it to test for the existance of the popup with the POPUP() function, befeore it does the DEFINE POPUP and DEFINE BAR stuff.

Alternatively use my menu classes, downloadable from the file section, which won't suffer this problem.

Regards
Mark
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform