Re: [Lazarus] Fw: Re: One last ask for help

2013-03-25 Thread Felipe Monteiro de Carvalho
Hello, For future reference, the solution to the problem is described here: http://bugs.freepascal.org/view.php?id=24132 -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.or

Re: [Lazarus] Fw: Re: One last ask for help

2013-03-21 Thread Hans-Peter Diettrich
Arí Ricardo Ody schrieb: procedure TMyForm.FormKeyPress(Sender: TObject; var Key: char); begin case Ord(Key) of {$IFDEF WIN32} Ord('>'), // this helps to simulate on Win32 {$ENDIF} Ord(#03): begin // aka EOT I'd suspect that #3 never occurs in KeyPress, because i

Re: [Lazarus] Fw: Re: One last ask for help

2013-03-21 Thread Arí Ricardo Ody
o: lazarus@lists.lazarus.freepascal.org Subject: Re: [Lazarus] Fw: Re: One last ask for help Le 21/03/2013 15:02, "Arí Ricardo Ody" a écrit : > Hi Ricardo. ---> Hi Antonio As of my last experience (Datalogic, Motorola former Symbol models, all using WinCE) the scanner itself

Re: [Lazarus] Fw: Re: One last ask for help

2013-03-21 Thread Sven Barth
Am 21.03.2013 16:41, schrieb Antonio Fortuny: Out of curiosity: why do you use "Ord"? You can achieve the same by just using the chars: === code begin === case Key of '>', #03: begin //... end; '<', #02: begin //... end; else begin //...

Re: [Lazarus] Fw: Re: One last ask for help

2013-03-21 Thread Antonio Fortuny
Out of curiosity: why do you use "Ord"? You can achieve the same by just using the chars: === code begin === case Key of '>', #03: begin //... end; '<', #02: begin //... end; else begin //... end; end; === code end === Regards, S

Re: [Lazarus] Fw: Re: One last ask for help

2013-03-21 Thread Sven Barth
Am 21.03.2013 16:26, schrieb Antonio Fortuny: procedure TMyForm.FormKeyPress(Sender: TObject; var Key: char); begin case Ord(Key) of {$IFDEF WIN32} Ord('>'), // this helps to simulate on Win32 {$ENDIF} Ord(#03): begin // aka EOT Key := #0; try if Scann.Buf

Re: [Lazarus] Fw: Re: One last ask for help

2013-03-21 Thread Antonio Fortuny
Le 21/03/2013 15:02, "Arí Ricardo Ody" a écrit : Hi Ricardo. ---> Hi Antonio As of my last experience (Datalogic, Motorola former Symbol models, all using WinCE) the scanner itself needs to be very carefully configured. --->Can tell little bit more about this? Depends on each model. There sho

Re: [Lazarus] Fw: Re: One last ask for help

2013-03-21 Thread Arí Ricardo Ody
- Original Message - From: Antonio Fortuny Sent: 03/21/13 09:37 AM To: lazarus@lists.lazarus.freepascal.org Subject: Re: [Lazarus] Fw: Re: One last ask for help Hi Ricardo. ---> Hi Antonio As of my last experience (Datalogic, Motorola former Symbol models, all using WinCE) the scan

Re: [Lazarus] Fw: Re: One last ask for help

2013-03-21 Thread Antonio Fortuny
Hi Ricardo. As of my last experience (Datalogic, Motorola former Symbol models, all using WinCE) the scanner itself needs to be very carefully configured. AKAIK in all models I've tested, the barcode scanner sends the chars as if they were typed on the keyboard. Because of this it is difficult

[Lazarus] Fw: Re: One last ask for help

2013-03-21 Thread Arí Ricardo Ody
- Original Message - From: Michael Schnell Sent: 03/21/13 05:40 AM To: Lazarus mailing list Subject: Re: [Lazarus] One last ask for help On 03/21/2013 03:46 AM, "Arí Ricardo Ody" wrote: WinCE ... a customer interested Isn't this a contradiction, nowadays ? I feel that WinCE is rapidly dec