On 25.3.2006, at 14:56, Jay Wooten wrote:

Ok, maybe this is supposed to be how it works.

Say you have a window with a listbox and a few rows of data

in that same window you have a container control (an empty one will work)

When you select a row in the listbox, and then press a key - like delete, why does the container control get the keydown event?


To test this, put a msgbox in the keydown event of the container control.


Is this correct behavior?

REALbasic usually passes KeyDown events to the Parent control/Window if you do not return true from the KeyDown event of the Child control (in this case the ListBox)

--
______________________________________________________________________
Björn Eiríksson                        [EMAIL PROTECTED]
Einhugur Software
http://www.einhugur.com/
______________________________________________________________________
Einhugur Software has sold its products in 52 countries world wide.
______________________________________________________________________
For support:                           [EMAIL PROTECTED]
To post on the maillist:               [EMAIL PROTECTED]


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

Reply via email to