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

pause and wait for user input

Thread ID:





7803 Oct 9,2003 08:12 PM UTC Oct 12,2003 07:59 PM UTC WinForms 1
Tags: FAQ
Peter Schonefeld
Asked On October 9, 2003 08:12 PM UTC

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 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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon