On Mar 25, 2006, at 6:11 PM, Jay Wooten wrote:


In the listbox on w1, press a key. the keydownTest event occurs from the listbox on w1 as expected

but...

the keydown event in the listbox on w2 also fires (and every other instance of the lbMaster listbox on any other windows you may have open)

If I understand what you are saying, I can't reproduce it. here is what i Did:

1) New project
2) New Class1:
   Super = ListBox
   New Event MyKeyDown(Key as String)
   in Keydown event:
     MyKeyDown(key)
     Return True
3) Put Listbox in Window2 and set super to Class1
4) In the MyKeyDown Event put:
    Me.AddRow Key

5) In App.Open put:
  Dim W as Window

  W = New Window1
  w.Show

  W = New Window1
  w.Show

6) Run then  type a letter

As expected it only appears in the front most window where the listbox has the focus.

OSX 10.4.5 PPC

- Karen


_______________________________________________
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