Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu pad with no popup menu not working
Message
De
26/01/2001 16:13:05
 
 
À
25/01/2001 14:31:44
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00468685
Message ID:
00469227
Vues:
9
>I am trying to modify the mainmenu in amenus.vcx to include an EXIT pad with no popup. I subclassed cpad::cmenu.vcx and called it exitpad. I set the lnopopup property to .T. as per the DevGuide, and included it in the loadchildren method of mainmenu. The "exit" pad is visible but doesn't appear to respond to click or dblclick events. I've added a 'set step on' command to each of these methods with no luck. Any of you MM users out there have a menu pad working with no popup menu?
>TIA

I came across this going through the docs as well. I had sent Kevin a fix, but unfortunately I did not save it. Kevin talked me out of it, saying that having a menu pad with no drop down wasn't very "windowish".

If you really want to fix it, I recall it's in the cpad::define method. The section :

IF NOT This.lNoPopup
lcOnPad = "ON PAD " + this.Name + ;
" OF " + this.cMenu + ;
" ACTIVATE POPUP o" + this.cPopup
&lcOnPad
ENDIF

Has to be changed. lcOnPad needs to DOFORM() I think, instead of ACTIVATE POPUP...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform