A
Alexander Pavlo
Guest
Hi All !!!
I have a DataGrid on my Form.
Firstly - the user inputs some data into the DataGrid and clicks "PROCESS" button. The action goes to the class module and the entered data is being managed (in just one difficult loop, but you cant know before how long its gonna take, that depends on the data entered) so:
I also have a TIMER on the same form and I want to exit the processing of data after 1 minute. But the timer doesnt work while the class works with the DataTable... I mean Timer.Tick event doesnt occur untill the class finishes his processing of data.
How can I catch the Timer.Tick event and work in the class at the same time ???
HUGE thanks to everybody who answers - the others get NOTHING !!!!
Respectfully, L!o ...
I have a DataGrid on my Form.
Firstly - the user inputs some data into the DataGrid and clicks "PROCESS" button. The action goes to the class module and the entered data is being managed (in just one difficult loop, but you cant know before how long its gonna take, that depends on the data entered) so:
I also have a TIMER on the same form and I want to exit the processing of data after 1 minute. But the timer doesnt work while the class works with the DataTable... I mean Timer.Tick event doesnt occur untill the class finishes his processing of data.
How can I catch the Timer.Tick event and work in the class at the same time ???
HUGE thanks to everybody who answers - the others get NOTHING !!!!
Respectfully, L!o ...