Solved

Show Time on statusbar dynamically

Posted on 2004-09-13
2
198 Views
Last Modified: 2010-04-05
Hi,
I want to Show  Time on my statusbar dynamically?
How do you do this work ?

Example "HH:MM:SS"  on taskbar that change with time.

Thanks in advance for your helps

0
Comment
Question by:Imbeginner
2 Comments
 
LVL 12

Accepted Solution

by:
Ivanov_G earned 75 total points
ID: 12044659
Put a TTimer on the form (from System component tab) and on its OnTime ever place this:

StatusBar1.Text := FormatDateTime('hh:mm:ss', Now);
0
 
LVL 22

Expert Comment

by:Ferruccio Accalai
ID: 12044669
use a TTimer with interval 1000
then in ontimer event

StatusBar1.SimpleText :=  FormatDateTime('HH.nn.ss',Now);

or StatusBar1.Panels[1].tEXT := FormatDateTime('HH.nn.ss',Now); if you have more than 1 panel
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now