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