Wiadomość napisana przez Christian Schmitz w dniu 26 paź 2011, o godz. 15:05:

> 
> Am 26.10.2011 um 14:58 schrieb Grzegorz Pawlik:
> 
>> Hello,
>> 
>> How can I get the KeyDown event from CocoaControlMBS? I am trying to use 
>> NSSearchFieldMBS, search must start when user presses Return/Enter. 
>> Unfortunately, when my project is compiled with Cocoa target, KeyDown for 
>> CocoaControlMBS does not fire (but it does in Carbon). Seems like a bug, or 
>> maybe I am doing something wrong...? 
> 
> 
> This keydown event is from the base RectControl, not from the plugin.
> 
> Events are routed differently on Cocoa, than on Carbon.
> For the return, check the action event on the  NSSearchFieldMBS class.

OK, the action event of NSSearchFieldMBS works, but how can I check if user 
pressed the Enter key? There are no parameters, and this event fires constantly 
during typing.
G.

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to