On Jan 2, 2011, at 8:29 PM, OKB (not okblacke) wrote:

>       I can't seem to catch a KeyDown event (or any KeyEvents that I've 
> tried).  I have a class that subclasses dPanel, and in that class's 
> afterInit I do:
> 
> self.bindEvent(dabo.dEvents.KeyDown, self.keyDown)
> 
> . . . my keyDown method is still not called when I press keys.  Is there 
> something else I need to do?  I also tried doing self.Form.bindEvent 
> instead, but it didn't work either.

        That's the right way to bind events, but I'm not sure that panels can 
receive key events. I believe that only controls that can receive focus get key 
events.



-- Ed Leafe



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to