Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Show Time on statusbar dynamically

Posted on 2004-09-13
2
Medium Priority
?
206 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 300 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 23

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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

877 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