General information
Category:
Coding, syntax & commands
Jim, in th live app I need user interface in the when:
The reason I need a Window (Messagebox actually is as follows)
(Maybe there is another way to do this !!
I have Code in the GotFocus to test on warnings
e.g.
Do a test for various warnings
If any warnings have happened
MessageBox('Following warnings have happened')
Endif
The result is as follows:
If there have been no warnings, code goes straight to the Click event
If no warnings, then it stops at the cmdButton and The Enter key has to be pressed again. (presumably because the MsgBox has eaten the click)
I also need this code to go into the Gotfocus, because I dont want the user having to specifically Click on the control to action it.... .e.g when they Land on this button in the normal Tab sequence, the gotFocus will trigger
regards,
Gerard
>>JIm, thanks for your reply.
>>
>>I've done some further investigation and it seems thet the Forms's Click event fires .
>>
>>Is there a way to get the Click event of the object to fire, some way of over-riding this behaviour ?
>>
>>Regards,
>>
>>Gerard
>
>Don't issue a wait window in the gotfocus or when events of the object. If you want to test functionality use Debugout instead of wait window. This is the perfect example of the observation affecting the observed. Your wait window to see what is going on is changeing what is going on.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only