Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer Object Cursor Disappears
Message
 
 
To
27/10/2010 10:03:57
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01487145
Message ID:
01487152
Views:
49
>We recently had an object for which we wanted to put a blink on to make sure our employees fill it in if it is blank. As a result I added a simple timer object and at about 500 MS setting it will check the background of the object, if it is grey it turns it to red and vice versa. This gives an easy blinking effect. The only problem is when the user is performing other functions in the meantime, the cursor in whatever object it is in, disappears from the screen's view, but if you move the mouse around it shows up, but only of course until the next interval with the timer object. Is there any way to keep the blinker on the timer and not have the cursor disappear from their screens as it references the timer object in between data input on another object?

I'm not sure why timer intrferes with the cursor, but check SET CURSOR ON command in help (you can try to set it off in the start of timer's code and on back at the end).

In addition, disable the timer the first line it its code and re-enable at the end.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform