PORTS Forum
Ports and Interfaces => Serial Ports => Topic started by: GlennP on September 28, 2010, 07:18:30 am
-
Hi All,
Bit of an odd one, I am reading back some Data via a serial port but it appears not to be updated on the form so I was debugging the app with a message box to hold the program flow it sprang to life. It was the MessageBox that was slowing or block some thread. Now I am after a way of simulating the action of a message box appearance. Thread.Sleep() and for(); do not cause the right sort of delay I think, where thread sleep blocks the UI thread. HELP!
Glenn
-
Hello,
It seems as thought my Form update was not taking place right
if(Form1.ActiveForm != null) Form1.ActiveForm.Update(); cured the problem
Thanks
Glenn