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.
Unfortunately, activation email could not send to your email. Please try again.

pause and wait for user input

Thread ID:





7803 Oct 9,2003 04:12 PM Oct 12,2003 03:59 PM Windows Forms 1
Tags: FAQ
Peter Schonefeld
Asked On October 9, 2003 04:12 PM

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

Peter Schonefeld
Replied On October 12, 2003 03:59 PM

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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.