Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stopping a flashing text button

Status
Not open for further replies.

matpj

Technical User
Mar 28, 2001
687
GB
I have a command Button, whose text flashes using the Forms timer thing.

I want to be able to make the text stop flashing once the button has been clicked.
Is there anyway, you can write some code in the OnClick event that will tell it to stop using the forms timer interval thing?

help!
 
Turn the timer interval off.

Me.TimerInterval = 0 Joe Miller
joe.miller@flotech.net
 
thanks, but now, when I do this, and then start a new record the button tect on the new record is no longer flashing.
I want it only on the record that has a button that has been clicked.

is this possible?
 
You need to turn the timer back on when you go to a new record. Use the OnCurrent event to set the timer back on:

Me.TimerInterval = 250

Joe Miller
joe.miller@flotech.net
 
OnCurrent

Me.TimerInterval = XX MichaelRed
mred@att.net

There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top