If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: help with timer

<-- comment deleted by mod -->

and specially for u, freeze ( app not responding, flattering etc.), 'do nothing' (waiting for some time to do something)
One guy post on other forum, '' u want to freeze ur app, is that what u wanna do ?''
I dont wanna pause the program

Re: help with timer

Re: help with timer

When you put your app to sleep it does nothing which means it is frozen.

You would use a timer to make something happen at given intervals, sleep to halt execution for a given interval

You can but should not use a busy loop to cause your code to not go past the loop for a given time but again this will effectively freeze your app unless you have a doevents in there and that will allow other stuff to happen so that does not sound like what you want.

In the future you should try to give the best description possible of what you are trying to do and do not insult other members of the forum.

Re: help with timer

When you put your app to sleep it does nothing which means it is frozen.

You would use a timer to make something happen at given intervals, sleep to halt execution for a given interval

You can but should not use a busy loop to cause your code to not go past the loop for a given time but again this will effectively freeze your app unless you have a doevents in there and that will allow other stuff to happen so that does not sound like what you want.

In the future you should try to give the best description possible of what you are trying to do and do not insult other members of the forum.