Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.pascal.borland > #164 > unrolled thread
| Started by | Jim <wandana@ntlworld.com> |
|---|---|
| First post | 2013-12-11 05:54 -0800 |
| Last post | 2013-12-13 11:49 -0800 |
| Articles | 4 — 2 participants |
Back to article view | Back to comp.lang.pascal.borland
keypress in graphics Jim <wandana@ntlworld.com> - 2013-12-11 05:54 -0800
Re: keypress in graphics Marco van de Voort <marcov@toad.stack.nl> - 2013-12-11 15:15 +0000
Re: keypress in graphics Jim <wandana@ntlworld.com> - 2013-12-11 10:41 -0800
Re: keypress in graphics Jim <wandana@ntlworld.com> - 2013-12-13 11:49 -0800
| From | Jim <wandana@ntlworld.com> |
|---|---|
| Date | 2013-12-11 05:54 -0800 |
| Subject | keypress in graphics |
| Message-ID | <db682ccf-528d-4555-be0d-e27a9aa03b00@googlegroups.com> |
Hi, I am trying to use getkey or keypressed in grahpics mode using Lazarus I used to be able to do this in Borland Pascal 7 (DOS) I cannot remember how I did it! but I may have used a bit of assembler. I think there is an easier way, possibly by using separate screen sections, Again, I do not know how to do it. Best wishes,
[toc] | [next] | [standalone]
| From | Marco van de Voort <marcov@toad.stack.nl> |
|---|---|
| Date | 2013-12-11 15:15 +0000 |
| Message-ID | <slrnlah0cs.15oh.marcov@toad.stack.nl> |
| In reply to | #164 |
On 2013-12-11, Jim <wandana@ntlworld.com> 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.
[toc] | [prev] | [next] | [standalone]
| From | Jim <wandana@ntlworld.com> |
|---|---|
| Date | 2013-12-11 10:41 -0800 |
| Message-ID | <0b1e61ff-77be-4530-b0ed-03b85670d632@googlegroups.com> |
| In reply to | #164 |
On Wednesday, 11 December 2013 13:54:52 UTC, Jim wrote: > Hi, > > > > I am trying to use getkey or keypressed in grahpics mode using Lazarus > > > > I used to be able to do this in Borland Pascal 7 (DOS) > > > > I cannot remember how I did it! but I may have used a bit of assembler. I think there is an easier way, possibly by using separate screen sections, Again, I do not know how to do it. > > > > Best wishes, Thanks Marco, One point, although I am using Lazarus as the IDE, in Windows 7, I believe the code is being executed in a dos window, e.g. I only have 15 colours. Best wishes Jim
[toc] | [prev] | [next] | [standalone]
| From | Jim <wandana@ntlworld.com> |
|---|---|
| Date | 2013-12-13 11:49 -0800 |
| Message-ID | <6ae5ec5b-14bb-499d-bce7-b6c7cbca92b1@googlegroups.com> |
| In reply to | #164 |
On Wednesday, 11 December 2013 13:54:52 UTC, Jim wrote: > Hi, > > > > I am trying to use getkey or keypressed in grahpics mode using Lazarus > > > > I used to be able to do this in Borland Pascal 7 (DOS) > > > > I cannot remember how I did it! but I may have used a bit of assembler. I think there is an easier way, possibly by using separate screen sections, Again, I do not know how to do it. > > > > Best wishes, Can anyone direct me to a Dos pascal graphics tutorial that is fairly thorough, like how to create more than one view, DOS and graphics That may help sole this problem I copied code from one tutorial that should have done what I needed but it did NOT work, i.e. a ReadLn was ignored. This group is not so active as I remember, anyone recommend a more appropriate group/forum Jim
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.pascal.borland
csiph-web