Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Placing time on a form
Message
From
08/02/2010 12:17:07
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01448093
Message ID:
01448104
Views:
60
>Hi Naomi
>
>I was assuming that when the timer fires, focus will go to it, and away from a field for example?
>
>
>
>>>Hi
>>>
>>>How is best to display the current time on a form?
>>>
>>>I know I could use a timer, but I don't want the focus to be lost whilst the time is updated on the screen.
>>>
>>>Any help extremely appreciated
>>>
>>>Rob
>>
>>I don't see how the focus is going to be lost. You can use a label.


Nope.
Timer as Custom class is NOT visible class, so it can't receive focus.
If you check in Help you will see that there are no events named Got/LostFocus() and there is no methonf named SetFocus() :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform