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 can't know before how long it's 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 doesn't work while the class works with the DataTable... I mean Timer.Tick event doesn't 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 can't know before how long it's 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 doesn't work while the class works with the DataTable... I mean Timer.Tick event doesn't 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 ...