Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Want to create a simple digital clock in C++ Builder 1.0 Pro.

Status
Not open for further replies.

aaronscottellis

Programmer
Mar 14, 1999
1
US
I would like to create a program using the VCL Label Component and the Timer component to display a digital clock. Another Label would also be used to show the time in another time-zone, for example in Europe.<br>
<br>
I am using C++ Builder 1.0<br>
<br>
Thank you in advance,<br>
<br>
aellis
 
Hi. In the OnTimer event of the timer control write something like this: Label1-&gt;Caption=Now();<br>
or: Label1-&gt;Caption=Time();
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top