On Sat, 3 Jan 2004, Alan Mead wrote:

> 
> --- [EMAIL PROTECTED] wrote:
> > > Thanks for the information. Can you give me a pointer to
> > "catching
> > > these keys" myself? 
> > 
> > Just check the result of the next key with readkey. 
> > It should return #3 for ctrl-c, and #26 for ctrl-Z.
> 
> Ah.  Now I see.  
> 
> It's been a while ... is ReadKey blocking?  If so, is there a
> non-blocking function?  I recall I used to access the keyring in the
> BIOS directly and I believe that is not proper (or possible).
> 
> I would have to insert this check inside a loop doing the real work. 
> Well, I guess I could make a non-blocking ReadKey using KeyPressed.

That is why it is there :-)

Michael.

_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to