Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Want to add Clock object in my Application!
Message
From
16/04/2002 10:00:29
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
16/04/2002 01:11:52
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00645293
Message ID:
00645443
Views:
12
>Hi All ,
>
>It is posible to add a clock object (.OCX etc) in the application that show the time.
>
>Regards,
>
>thank in advance
>
>Mobeen.

You can use a timer. For example, place a Timer and a Label on a Form, set Interval to 500 or 1000 (milliseconds), and write the following in the Timer() Event:
ThisForm.LblTime.Caption = time()
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform