Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Placing time on a form
Message
De
08/02/2010 12:31:07
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01448093
Message ID:
01448117
Vues:
67
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform