Application.DoEvents() alternative

  • Thread starter Thread starter Peter Viau
  • Start date Start date
P

Peter Viau

Guest
I have a function that returns a string based on keyboard input from 0 to 9

My function has to wait for a set number of keys or button presses to return.

I'm using Application.DoEvents() to allow the user to enter set number of digits in the GUI, but I've read everywhere that Application.DoEvents() is a bad thing.

Is there an alternative .net call that can allow me to wait for the keys while allowing the GUI to respond?

Continue reading...
 
Back
Top