Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Placing time on a form
Message
From
08/02/2010 12:31:07
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
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:
01448117
Views:
66
>>Hi Boris
>>
>>Ok, so even though the timer fires, the focus doesn't transfer to the timer object, (unless I setfocus)
>>
>>many thanks
>>
>>Rob
>>
>>>>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
>>>
>>>The focus will not be lost, unless you explicitly set it in Timer event.
>
>
>Check my reply to you under Naomi's branch :-)
>Timer has NO SetFocus() method.

Because it's always invisible... though it may be useful at times. Haven't tried to setfocus() to an object with .visible=.f., but setting it to an object that's invisible because .top=-4000, that's frequently used to force focus off the current control before save.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform