realbasic-nug
[Top] [All Lists]

Window.SetFocus & KeyDown Events on Mac

To: realbasic-nug at lists dot realsoftware dot com
Subject: Window.SetFocus & KeyDown Events on Mac
From: Pere Orra <pereorra at catdis dot com>
Date: Wed, 30 May 2007 17:37:19 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Since 2007r2 I have problems with KeyDown events on a document window.

I have a document window witch responds to KeyDown events normally,  
and a floating window with a listbox, if the user clicks on the list  
box its GotFocus event returns the focus to the main document window  
(Window.SetFocus), until 2007r1 this worked normally and the main  
window receives again KeyDowns, with 2007r2 there is no easy way to  
programatically return the KeyDown events to the document window.

I've found that if you manually drag the window KeyDown events are  
again sent to the document window.

I've already posted a report on the feedback system if anybody wants  
to sign it:

http://www.realsoftware.com/feedback/viewreport.php?reportid=setzfexc

I've also included a test project:

http://www.realsoftware.com/feedback/download.php?file=8361&rid=23408


Also if anybody has a easy workarround please let me know.

Thanks

Pere Orra
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>