Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem About Delay

Status
Not open for further replies.

mobilef

IS-IT--Management
Sep 30, 2005
10
HK
During delay, when I press "enter",
The "enter" will be store in the variable after the delay statement.
How to solve it?

Also, how to set background colour of the program and how to change the screen size of the program?

Thanks.
 
After your delay statement, you could check for the presence of an entry in the keyboard buffer, and if there's anything, clear it out of there. You can find more information in the help under keypressed and readkey. I hope this put you in the right path.



Cheers,

Realm174
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top