| [news.eclipse.platform.swt] Re: Focus on the Canvas. |
Thanks, that seemed to do the trick :)
Viliam Durina kirjutas mulle midagi seesugust:
Add some KeyListener to the control. See http://dev.eclipse.org/newslists/news.eclipse.platform.swt/msg18033.html
Viliam
Roland Tepp wrote / napÃsal(a):Hi,
I have created a custom widget based on the Canvas and I want this widget to be able to receive keyboard and mouse focus, which it does not seem to be able to do out of the box.
What would I need to do to allow my widget to receive focus?
-- Roland Tepp