Your WAIT WINDOW is eating the click event on you.
>I have a problem understanding why events fire in a particular sequence.
>Example as follows:
>
>I set up a CommandButton and had following :
>In GotFocus event: @ 1,1, say 'Test Got Focus'
>In Click Event @ 2,1 say 'Tect Click event'
>
>If I click on the button once,,fires both the GotFocus and Click event codes
>
>
>I set up another button:
>In GotFocus: wait window 'test Got Focus' timeout 1
>In Click Event @ 2,1 say 'Test Click event'
>If I click on the button once, only the GotFocus event fires !!
>
>Can anybody explain this
>Regards,
>
>Gerard