| View previous topic :: View next topic |
| Author |
Message |
cokecan72 Newbie
Joined: 14 Oct 2003 Posts: 11
|
Posted: Nov 4th, 2003 12:20 AM Post subject: count down timer |
|
|
hey all, im tryin to make a count down timer. a good example would be a count down timer that tells you how many weeks, days, hours,minutes and seconds it is till christmas. had a go at it with a timer but no joy cos theres a max interval on the timer. also tired usin the Date and TIme bit to display it in a label. this kinda worked when i used a timer with interval of 100ms (1 second) to keep refreshin the form to display the correct time and date, then used an if statement to set off an alarm or play a sound when the time is equal to **:**:**.
anyone got any ideas?  _________________ Damn right im good in bed....
I can sleep for days! |
|
| Back to top |
|
P.T.A.M. Administrator

Joined: 08 Oct 2003 Posts: 752 Location: Greece
|
Posted: Nov 4th, 2003 12:58 AM Post subject: |
|
|
1000 ms is a second :p I'll have a look at this and post back later  _________________ No one is completely useless. They can at least be an example of what to avoid. |
|
| Back to top |
|
Avis Junior Poster

Joined: 07 Oct 2003 Posts: 510 Location: India
|
|
| Back to top |
|
cokecan72 Newbie
Joined: 14 Oct 2003 Posts: 11
|
Posted: Nov 4th, 2003 03:12 PM Post subject: |
|
|
that cool Avis, im not too keen on listview boxes tho, find them and list boxes to hard to use. dont supose it can be done with a label?, just a label to display the days, hours, minutes and seconds?
thanks anyway  _________________ Damn right im good in bed....
I can sleep for days! |
|
| Back to top |
|
P.T.A.M. Administrator

Joined: 08 Oct 2003 Posts: 752 Location: Greece
|
Posted: Nov 4th, 2003 03:28 PM Post subject: |
|
|
Do you like the format it is displayed with? Just have that format in a label? _________________ No one is completely useless. They can at least be an example of what to avoid. |
|
| Back to top |
|
cokecan72 Newbie
Joined: 14 Oct 2003 Posts: 11
|
Posted: Nov 7th, 2003 12:02 AM Post subject: |
|
|
the formats perfect, i tried putting it all in a label instead but doesnt work right, i have mangaed to display "0 days 0 hour 0 minutes 0 seconds" in the label but it doesnt do anything else? _________________ Damn right im good in bed....
I can sleep for days! |
|
| Back to top |
|
P.T.A.M. Administrator

Joined: 08 Oct 2003 Posts: 752 Location: Greece
|
Posted: Nov 7th, 2003 09:59 AM Post subject: |
|
|
I'll have a look at it. It will be hard (if not imposible) to remove them by pressing delete... _________________ No one is completely useless. They can at least be an example of what to avoid. |
|
| Back to top |
|
|