Re: [fpc-pascal] FPC 3.0.X next to 2.6.4 on Linux

2017-02-09 Thread Mark Morgan Lloyd
On 08/02/17 21:00, Jonas Maebe wrote: On 08/02/17 21:54, Krzysztof wrote: Thank you guys! Sorry for such delay but finally had time to prepare seriously my enviromnent for FPC V3. Everything seems to work perfect (Lazarus IDE and FPC) but just curious question: Is it possible to get information

Re: [fpc-pascal] KeyDown routine and Ctrl+Q

2017-02-09 Thread Mark Morgan Lloyd
On 08/02/17 21:30, Jürgen Hestermann wrote: I use a KEYDOWN routine in my main TFORM to check for the key Ctrl+Q: - procedure TForm1.FormKeyDown(Sender : TObject; var Key: Word;

Re: [fpc-pascal] KeyDown routine and Ctrl+Q

2017-02-09 Thread Jürgen Hestermann
Am 2017-02-08 um 23:26 schrieb Vojtěch Čihák: > when you press CTRL+Q you will obtain two OnKeyDown events. The first with Key=17 (it is CTRL) and the second with Key=81 (Q). Both events will have ssCtrl in Shift. Yep, it makes sense for OnKeyDown. Thanks for the explanation. I don't know why

Re: [fpc-pascal] KeyDown routine and Ctrl+Q

2017-02-09 Thread Vojtěch Čihák
Strange. I tested in Linux+Qt and in Delphi7 (under Wine) and both have ssCtrl in Shift when I press Ctrl (i.e. Key=17).   V. __ Od: Jürgen Hestermann Komu: FPC-Pascal users discussions Datum: 09.02.2017 11:52 Předmět: Re: [fpc-pascal

Re: [fpc-pascal] FPC 3.0.X next to 2.6.4 on Linux

2017-02-09 Thread Fabio Luis Girardi
In my environment I have FPC 2.4.4, 2.6.4, 3.0.0, 3.0.1 and 3.1.1, all installed on my home folder (/home//development/fpc/x.x.x), with the same folder structure. To choose one FPC version or another, I created a shell script for each version, that sets the path environment variable to selected FP

Re: [fpc-pascal] KeyDown routine and Ctrl+Q

2017-02-09 Thread Jürgen Hestermann
Am 2017-02-09 um 14:42 schrieb Vojtěch Čihák: Strange. I tested in Linux+Qt and in Delphi7 (under Wine) and both have ssCtrl in Shift when I press Ctrl (i.e. Key=17). Well, I looked at Shift in the debugger and I could swear that it showed me an empty set []. But now I can't reproduce it any

[fpc-pascal] Overriding generic methods

2017-02-09 Thread Ryan Joseph
Is overriding methods from specialized generic classes supported in any way? I tried the following below but it doesn’t seem to work. type generic TList = class (TObject) procedure Add (value: T); virtual; end; type TObjectListAbstract = specialize TLi