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.
Printable View
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.
Put a timer on your form and set it's interval to 1000, then in the timer put the status bar = Time
The status bar already has a time ability. Its under style in the panels tab of the properties.
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
ok, thanks for the reply, ive already figured it out