On Dec 15, 2006, at 5:04 PM, Arnaud Nicolet wrote:
Create a blank project, add a second window (Window2 is its name),
set its frame to sheet and put this code, for example, in the
MouseDown event of the Window1:
dim w2 As Window2
w2=new Window2
MsgBox "1+2+3=1*2*3"
Just add a push button to Window2 to close it (else you will have
to kill the built application).
Run the project and click on the window (Window1 being still the
default window). When the dialog appears, click "return" or "enter".
Wonderful, isn't it?
Does using the return key to close the dialog invoke some
FlushEvents calls, after pushing "Ok" and before closing the
dialog, and the sheet is allowed to take place, then the dialog
would close but waits for its new child sheet?
Who knows?
With bit more info I was able to reproduce your results. It appears
that the default key action is somehow to blame as, if one clicks on
"OK" on with the mouse, all is well.
Please report this if you (or someone else) haven't. I'll sign on.
Terry
_______________________________________________
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>