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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to read a key in graph mode

Status
Not open for further replies.

mobilef

IS-IT--Management
Sep 30, 2005
10
HK
I made a welcome screen by graph mode. When user wants to start then program, he/she needs to press a key.
But how to read a key in graph mode?

I used:
...
...
ch := readkey;
if readkey <> #0 then
closegraph
...
...
But it isn't work. The key is read in the main program, not the graph mode screen.

How to do that?
Thanks.
 
yes, i used crt unit, but also not work.
thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top