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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flashing label without ontimer event

Status
Not open for further replies.

din2005

Programmer
Mar 22, 2005
162
0
0
GB
Hey up everyone!

Is there way to flash a label without using the ontimer event. Since am already using the ontimer event for something else????

Any sample code or examples will be very useful

many thanks

 
Why not just use the OnTimer event for more than one thing?

If you want those two things to have different timer intervals, just declare a variable at form-level, increment it at each loop through the timer event code and only perform the less frequent action when the counter variable reaches a certain value.

[pc2]
 
With a Static variable you may have the Timer event procedure doing different things at different intervals.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top