Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!.POSTED!not-for-mail From: Marco van de Voort Newsgroups: comp.lang.pascal.borland Subject: Re: keypress in graphics Date: Wed, 11 Dec 2013 15:15:40 +0000 (UTC) Organization: Stack Usenet News Service Lines: 10 Message-ID: References: NNTP-Posting-Host: toad.stack.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: mud.stack.nl 1386774940 22104 2001:610:1108:5010::135 (11 Dec 2013 15:15:40 GMT) X-Complaints-To: abuse@stack.nl NNTP-Posting-Date: Wed, 11 Dec 2013 15:15:40 +0000 (UTC) User-Agent: slrn/0.9.9p1 (FreeBSD) Xref: csiph.com comp.lang.pascal.borland:165 On 2013-12-11, Jim wrote: > I am trying to use getkey or keypressed in grahpics mode using Lazarus In Graphics mode (unit (win)graph), or in GUI mode (Lazarus LCL). If the first, use unit wincrt. If the second, you can't use unit Crt, since you have no console, and must use Windows/LCL keyevents for that.