Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer Object Cursor Disappears
Message
From
27/10/2010 12:37:14
 
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:
01487196
Views:
58
>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.

It still seems to loose the cursor. The cursor remains where it should be but does not blink until one moves the mouse around on the screen then it flases a bit and shows where it is at.
Previous
Reply
Map
View

Click here to load this message in the networking platform