|
-
Jan 7th, 2006, 11:29 PM
#1
Thread Starter
Lively Member
System Time
Hi to all. I want to make my own status bar. My problem is, i want to put a time in my status bar, like the one in the status bar. A time that is continues. because the one that ive created only displays the time when the program was loaded.
Ask a question and you're a fool for three minutes; do not ask a question and you're a fool for the rest of your life. (Chinese Proverb)
^ _ ^
hope to earn reputation soon....
-
Jan 7th, 2006, 11:35 PM
#2
Fanatic Member
Re: System Time
Put a timer on your form and set it's interval to 1000, then in the timer put the status bar = Time
-
Jan 7th, 2006, 11:39 PM
#3
Re: System Time
The status bar already has a time ability. Its under style in the panels tab of the properties.
-
Jan 7th, 2006, 11:41 PM
#4
Re: System Time
your question isn't very clear to me.
Do you mean something like a clock ?
Add a timer in your form.
Set interval = 1000
In Timer1_Timer event type StatusBar1.SimpleText = Time
(I assume you are using 'simple' statusbar.)
or you mean, you want to create your own custom statusbar ?
In that case add a picturebox to your form. Set it's Allign = Bottom. In the picturebox add a label. Add a timer like I said above.
In Timer1_Timer event type Label1.Caption = Time
-
Jan 7th, 2006, 11:42 PM
#5
Thread Starter
Lively Member
Re: System Time
ok, thanks for the reply, ive already figured it out
Ask a question and you're a fool for three minutes; do not ask a question and you're a fool for the rest of your life. (Chinese Proverb)
^ _ ^
hope to earn reputation soon....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|