On Apr 11, 2013, at 12:37 PM, Christian Schmitz 
<supp...@monkeybreadsoftware.de> wrote:

> 
> Am 11.04.2013 um 13:33 schrieb Gavin Smith <gavinsm...@me.com>:
> 
>> Yes, I have simply modified the "Statusitem with textfield" example by 
>> creating subclass of NSStatusitemMBS and changing your s property to be my 
>> subclass. I added an Action event but it never gets called. The rest of the 
>> menu works fine but I specifically need the functionality of this Action 
>> event. I need to know when the statusitem is clicked on.
> 
> You call SendActionOn method?

No, I didn't know I had to. I just went to 
http://www.monkeybreadsoftware.net/statusitem-nsstatusitemmbs-event.shtml#1 and 
decided that was the right event. How would I have known to use SendActionOn? 
Perhaps I just don't use the MBS plugins enough to know. I'm pretty proficient 
with Xcode and Real Studio but every time I use MBS I feel like I get stuck! 
Perhaps I need a beginner's guide to MBS plugins ;)

The event doesn't fire for me still. I am calling SendActionOn with 
s.SendActionOn NSLeftMouseDownMask+NSLeftMouseUpMask. Should this work with a 
textual statusitem?

--
Gavin
Twitter: @gvnsmth, @libapp



_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to