Show Time on statusbar dynamically

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

ImbeginnerAsked:
Who is Participating?
 
Ivanov_GCommented:
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
 
Ferruccio AccalaiSenior developer, analyst and customer assistance Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.