cool question!

D

djc

anyone know a good way to show that something is running? (besides the
standard hour glass) I am looking for a way to show activity but it does not
have to show actual meaning full 'progress' like a progress bar. For example
I thought I could use the OnTimer event to just go through and change the
color of a series of text boxes in a row to simulate them 'lighting up'. Say
like 6 to 12 text boxes that you alternate white to green on after another.
That would be great. My problem is I don't want this running all the time...
just after a button click... then another button click to stop it. Basically
the first button click starts it... and another button click (same button
though, I change the caption property to know what action to take) would
stop it. I am concerned about the resources involved though. In this
situation there really isn't anything else going on though... the first
button click just writes on timestamp record and thats it.. then the person
goes away and physically does something... then they come back and click the
button again to stop it. It basically is a timer. I want this visual to help
make it obvious the timer IS running.

any ideas? I can't have the code actually run 'in' the 'start' button click
event can I? because its the same button that gets clicked to stop it?
 
G

Graham Mandeno

Hi DJC

You can turn a Timer event on or off as will by changing the form's
TimerInterval property. Set it to 0 and the timer stops firing - set it to
N and it fires every N milliseconds.
 
K

Kelvin

Does it have to be using the same button? I would have the button open
another form. Then uisng the timer option on this form, have it show what
you want. Put the close button on this form too.

Kelvin
 
A

Albert D. Kallal

Download my sample word merge. Open the Application and try the sample
progress bar. It is designed to run even when YOUR code is running.

So, grab the same word merge from :

And, while you are at it...give the word merge a try also!
 
D

djc

Thanks!

Graham Mandeno said:
Hi DJC

You can turn a Timer event on or off as will by changing the form's
TimerInterval property. Set it to 0 and the timer stops firing - set it to
N and it fires every N milliseconds.

--
Good Luck!

Graham Mandeno [Access MVP]
Auckland, New Zealand

djc said:
anyone know a good way to show that something is running? (besides the
standard hour glass) I am looking for a way to show activity but it does not
have to show actual meaning full 'progress' like a progress bar. For example
I thought I could use the OnTimer event to just go through and change the
color of a series of text boxes in a row to simulate them 'lighting up'. Say
like 6 to 12 text boxes that you alternate white to green on after another.
That would be great. My problem is I don't want this running all the time...
just after a button click... then another button click to stop it. Basically
the first button click starts it... and another button click (same button
though, I change the caption property to know what action to take) would
stop it. I am concerned about the resources involved though. In this
situation there really isn't anything else going on though... the first
button click just writes on timestamp record and thats it.. then the person
goes away and physically does something... then they come back and click the
button again to stop it. It basically is a timer. I want this visual to help
make it obvious the timer IS running.

any ideas? I can't have the code actually run 'in' the 'start' button click
event can I? because its the same button that gets clicked to stop it?
 
D

djc

another good idea. Thanks!

Kelvin said:
Does it have to be using the same button? I would have the button open
another form. Then uisng the timer option on this form, have it show what
you want. Put the close button on this form too.

Kelvin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top