Hi,
I have the following issue and I was wondering if there is a better solution for it.
On my window I have a button, after pressing the button the main program starts rs-232 communication. The window is a listerner for a status object that is filled by the class that handles the rs-232. The window does not update until the communication is done. the events are generated, I check. what I think is the problem pressing the button is blocking for the window to update. (cause the events are there).
My solution: when pressing the button, start a timer(100 mS) and then perform the task. this works fine, but I was wondering if there is a better solution?
in VB a simple DoEvent would do the trick![]()
thx for the reaction,
Jewe




If the hardware is so great.. why use software to correct it..?? It will only slow it down..
Al is de hardware nog zo snel de software achterhaalt het wel
Reply With Quote