The program behaves correctly if I change Me.Hide to Me.Close in the keydown and mousedown events.

What is interesting is that the old version (with Me.Hide) worked under versions of RB prior to 2005.

Joe, thank you for your help. As always, you are the best ambassador that Real Software could have.


On Apr 21, 2006, at 7:09 AM, Paul Dobbs wrote:

I have a quiz program that is showing some odd behavior. It has three windows (type - shadowed box) which are used to call the next player up, announce a right answer and announce a wrong answer. Each window has the same code for the key down event and the mouse down event:

Me.Hide
Return True

The mouse down event works correctly always, but the key down event only works the first time that each window is displayed.

I'm using RB2006r2 on a MacBook Pro.

------------------------------------------------------------
Paul Dobbs
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://webpages.charter.net/dobbsp
------------------------------------------------------------
If you can't beat your computer at chess, try kick boxing

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

------------------------------------------------------------
Paul Dobbs
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://webpages.charter.net/dobbsp
------------------------------------------------------------
There is no evil in the atom; only in men's souls. -- Adlai Stevenson

_______________________________________________
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