Solved

Show Time on statusbar dynamically

Posted on 2004-09-13
2
204 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month8 days, 3 hours left to enroll

617 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