General information
Category:
Coding, syntax & commands
Title:
Mouse movement clears WAIT WINDOW
The application I am amending currently uses WAIT WINDOW NOWAIT 'xxx' to display error messages but the user has complained that the error messages disappear too quickly to read. This is because the slightest movement of the mouse clears the message. What I am trying to do is to display the message until either 2.5 seconds have elapsed, the user presses a key or clicks the mouse. To this end I have tried to use a timer in conjunction with WAIT WIND NOWAIT NOCLEAR. The problem I am having is that I have put the timer reset code into the form Click() and KeyPress() events but this is only fired when the user clicks on the form, not when the user clicks on one of the fields. Does anyone know how I can either get something that behaves like the WAIT WINDOW NOWAIT but ignores mouse moves or a way to pick up mouse clicks/key presses at a level higher (or lower depending on which way you look) than individual field level?
Martyn.
PS
The application is currently developed in VFP 3.0 but will be converted to VFP 6.0 before the new version is delivered to the user.
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