On 1/3/11 11:18 AM, OKB (not okblacke) wrote:
>       I'm now running into another issue, though, which looks like its
> more general.  If I have a form set up, even if I don't bind any key
> events, holding down the enter key causes the form to flicker, with some
> controls seeming to flicker into different positions.  It stays
> flickering (apparently indefinitely) even after I release the enter
> key.  This only seems to happen with the enter key, though.  Does Dabo
> do some handling of the enter key?  If so, can I disable it?  I want to
> make sure that only my own explicitly-defined key events are getting
> handled.

I'm not seeing this behavior, but it sounds like somewhere there's an event 
handler 
trying to handle (or not handle) the enter keypress.

You could set up event logging to try to find it:

(update to r6362 because I just posted a change for better reporting on the 
object 
that fired the event.)

Create a settings_override.py in the dabo directory (the one with __init__.py 
and 
settings.py) with these contents:

import logging
eventLogging = True
mainLogConsoleLevel = logging.DEBUG

In your main.py file for your app, after the application is instantiated, add 
this line:

dabo.dAppRef.LogEvents = ["KeyDown"]

Then run your app, and you should get output to the terminal whenever a key is 
pressed.

Paul
_______________________________________________
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