Hi!
Markus Gerwinski wrote:
After the first use of grKeyRead from the pascal interface of GRX, the ordinary "readln" doesn't work anymore. As it seems, the input is consumed before it reaches the screen.
GRX catches all keyboard (and mouse) input. Instead of file oriented I/O like Read, ReadLn (or scanf for that matter), use GrMouseGetEvent and friends.
You can also use GrMouseGetEvent and friends to define your own Read/ReadLn through a TFDD, as Maurice already pointed out.
Hope this helps,
Peter