We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

pause and wait for user input

Hi, I would like to iterate through a list and at each iteration display some text on my form and wait for a key stroke before continuing through the loop. Any advice on how to code this will be appreciated. Regards Pete

1 Reply

PS Peter Schonefeld October 12, 2003 07:59 PM UTC

As follow up to this, i was able to get the same effect by implementing the list as a queue and on key down calling a method that operated while there were items in the queue. However still find it odd that windows forms .NET doesn't seem to provide some form of pause and process messages function?? Pete

Live Chat Icon For mobile
Up arrow icon