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: Pere Orra <pereorra at catdis dot com>
Date: Wed, 30 May 2007 18:21:23 +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> <955A94A8-E087-43B6-8BCB-EF21265CC7E7 at tribu dot ch>
Thank you Arnaud, unfortunately I've already tried this and the  
result is the same.

El 30/05/2007, a las 18:04, Arnaud Nicolet escribió:

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

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