Board index » delphi » Using buttons in a loop

Using buttons in a loop

I'm new to using Delphi and have a problem with using buttons. I need to
be able to click a button to start a loop which contains one command. When
I click the button again it breaks the loop. The problem is when I try it
it starts the loop and then ignores the form ie you can't click the    
button. Is there a way around this? --          

                DANNYBOY
                ========
do5...@bristol.ac.uk

 

Re:Using buttons in a loop


Two ways: use Application.ProcessMessages or have a loop in other thread
for Win32.

Dmitry

Other Threads