On Jan 13, 2007, at 04:08 UTC, Paul Rehill wrote: > Interestingly, I did discover if I added a editfield to the window, > the editfield does detect the keystrokes in its keydown event but I > can't get the window's keydown event to execute the msgbox code even > by returning False in the Editfield's keydown event (I've tried > returning true as well just in case I was confused about how this > event uses the boolean value).
This is to be expected. If you return True, you're telling RB that you've handled it, and it shouldn't do normal EditField processing. If you return False, then you haven't, and the EditField will do its normal thing (move the cursor or insert a letter or whatever). In either case, the event gets handled, and does not propagate up to the window. For this reason, you can't get a Window's KeyDown event to fire when an EditField has the focus. Best, - Joe -- Joe Strout -- [EMAIL PROTECTED] Verified Express, LLC "Making the Internet a Better Place" http://www.verex.com/ _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
