Hiya Mark:
There is a way to do it. First, add an ActiveX StatusBar control (call it olePanel) to the form. Then, add a Timer to the form. Change the Interval property in the timer to 333 (for every 1/3rd second). Then, in the Timer event of the timer, put the following code:
THISFORM.oldPanel.Panels(1).Text = TIME()
You can fancy up that TIME() expression however you want.
>I need to show the clock (SET CLOCK TO x,y) on a form who's ShowWindow property is set to 2 (Top Level Form)? However, since the "desktop" is not visible in a top level form it does not appear. I tried to turn on the status bar too, not really what I want, but it is not visible either. Any ideas on how to show the clock on a top level form?
>
>Thanks.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05