mousedown in the mac menubar
Posted: Sat Apr 21, 2007 12:33 am
I am an experienced hypercard programmer, but very new to Revolution. I have nearly completed my first software project and am now experimenting with the standalone builder and the menu builder.
When I first moved my menu to the Mac menubar I found that my mousedown handlers in each button didn't work. A quick trip to the documentation revealed that I have to put the mousedown handlers in the group script. OK no big deal. I did it. It still doesn't work.
After a bit of investigation I discovered to my horror that "The Target" does not return the name of the menu button that is being activated, but rather the name of the menubar group.
Am I missing something here? Do I have to write a giant mousedown handler that deals with EVERY menu button each time ANY menu button is clicked?
Thanks, in advance, for your responses,
Grazer
When I first moved my menu to the Mac menubar I found that my mousedown handlers in each button didn't work. A quick trip to the documentation revealed that I have to put the mousedown handlers in the group script. OK no big deal. I did it. It still doesn't work.
After a bit of investigation I discovered to my horror that "The Target" does not return the name of the menu button that is being activated, but rather the name of the menubar group.
Am I missing something here? Do I have to write a giant mousedown handler that deals with EVERY menu button each time ANY menu button is clicked?
Thanks, in advance, for your responses,
Grazer