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.

Greetings
Christian

-- 
See you in Frankfurt, Germany at the Real Studio Database Days

More details and registration here:
http://www.monkeybreadsoftware.de/realbasic/events/frankfurt-2011-event.shtml


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

Reply via email to