Sorry, I don't really know how to word what I'm wanting.
Ok, here's what I'm trying to do.
I have a button and when you click it, a loop starts that cycles from 0 to 1000.
Now, through each number, I have it output that number to a label on the form.
But, it doesn't output in real time, rather only the last number.
I'm guessing because when the click is pressed, it executes the code and puts it in a buffer til it's finished processing, then outputs.
I want it to output to the form without waiting til it's finished.
If I'm doing it the wrong way, plz show me how to do what I'm trying to achieve...
[code]void __fastcall TForm1::btnGoClick(TObject *Sender)
int n = 0;
lblTest->Caption = IntToStr(n);
} while (n < 100000);
Thank you very much.
Any help or pointers is appreciated.