General information
Category:
The Mere Mortals Framework
>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...
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only