loop problem

Ace Master

Well-known member
Joined
Aug 28, 2003
Messages
140
Hi.

I have a function, which is called many times (unknown number)

I want to make something during the
 
I dont know if theres a solution to this. If the loop is called an unknown number of times, how is the function going to know when the calling has ended?
 
I see now.

When *you* cant tell when the receiving is over, how can the program ?

The only possibility I see is that you define a max idle time.

then set up a timer that (re)starts running whenever the sub is called. In the sub set the label visible, too.

Set the Timer interval to your max idletime.

In the tick event handler, let the label dissapear and stop the
timer.
 
thanks

based on your ideea I put "label off" in my timer tick event .

So now I have visible in my function and hide in my tick event. Is exactly want I wanted. :) .. because the timer tick is always, the label will be off when the receiving is over.

thanks
 
Back
Top