realbasic-nug
[Top] [All Lists]

Re: Window.SetFocus & KeyDown Events on Mac

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Window.SetFocus & KeyDown Events on Mac
From: Arnaud Nicolet <arnaud at tribu dot ch>
Date: Wed, 30 May 2007 18:04:31 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <6F5E250D-6711-4492-A442-B3A82045FD3E at catdis dot com>
Could it be possible that you just have to add "DocumentWindow.show"  
before you use SetFocus?

Maybe the floating window is brought to the front and was not in  
earlier versions?

Le 30 mai 07 à 17:37 Soir, Pere Orra a écrit:

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