Re: [Lazarus] Printing on Raspberry Pi

2016-04-06 Thread Koenraad Lelong
Op 05-04-16 om 21:00 schreef ahiggins: Not sure if you resolved the missed align data error (im coming to the party late), today i have had the same problem, now below is the crude mod i did to get it working for me, not sure if it will help your problem but worth a try. LR_Prntr unit. around

Re: [Lazarus] PWM on raspberry pi

2016-03-09 Thread Koenraad Lelong
Op 08-03-16 om 19:50 schreef Bo Berglund: In PiGpio I added the following (roundabout line #20: {$DEFINE RPi2} const REG_GPIO = {$IFDEF RPi2} $3F000 {$ELSE} $2 {$ENDIF};//bcm2835/bcm2836 gpio register 0x2000 . new fpMap uses page offset, one page is 4096bytes then later down in

Re: [Lazarus] PWM on raspberry pi

2016-03-07 Thread Koenraad Lelong
Op 07-03-16 om 20:11 schreef Mark Morgan Lloyd: Koenraad Lelong wrote: Hi, I'm trying to configure a PWM-pin on the raspberry pi 2. I'm using pigpio, with the demo-program. I configured pin 12 (GPIO 18) to be a PWM pin. When I click the PWM-button on the demo-program, the pi hangs. I have

[Lazarus] PWM on raspberry pi

2016-03-07 Thread Koenraad Lelong
Hi, I'm trying to configure a PWM-pin on the raspberry pi 2. I'm using pigpio, with the demo-program. I configured pin 12 (GPIO 18) to be a PWM pin. When I click the PWM-button on the demo-program, the pi hangs. I have to power-cycle to "recover". I modified this: REG_GPIO = $3F000; and

Re: [Lazarus] FreePascal TCPIP data tunnel code sample?

2016-02-05 Thread Koenraad Lelong
Op 05-02-16 om 14:20 schreef Bo Berglund: On Thu, 4 Feb 2016 21:10:54 +0100, Koenraad Lelong <lazar...@de-brouwerij.be> wrote: Op 04-02-16 om 17:17 schreef Bo Berglund: Then whatever data comes in through the Ethernet port should be sent via the WiFi connection to the instrument. Al

Re: [Lazarus] FreePascal TCPIP data tunnel code sample?

2016-02-04 Thread Koenraad Lelong
Op 04-02-16 om 17:17 schreef Bo Berglund: I wonder if someone has built a program that can be used as a "tunnel" of data from one TCP server to a TCP client on another network? The program should sit in between in a computer connected to both networks (Ethernet and WiFi). If so I would be

Re: [Lazarus] Printing on Raspberry Pi

2016-01-26 Thread Koenraad Lelong
Op 29-10-15 om 16:24 schreef Koenraad Lelong: Hi, I'm trying to print a lazreport on a Raspberry Pi2. It's not working, I get : Bus Error or misaligned data access Press OK to ignore ... Pressing OK does nothing. Any suggestions to solve this ? I also tried the example from http

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-25 Thread Koenraad Lelong
Op 25-01-16 om 09:40 schreef Koenraad Lelong: First : I'm using pascalio, on a Pi2 model B. Just modified bcm2708.pas : GPIO_BASE = (BCM2708_PERI_BASE + $003F); // GPIO controller and mem_fd := FpOpen('/dev/gpiomem', O_RDWR OR O_SYNC); Now I can run my app as user 'pi'. Thanks

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-25 Thread Koenraad Lelong
Op 25-01-16 om 00:18 schreef Marc Santhoff: On Mo, 2016-01-25 at 00:11 +0100, Bo Berglund wrote: On Sun, 24 Jan 2016 21:42:06 +0100, Marc Santhoff wrote: My results : root@raspberrypi:/home/pi# grep gpio /etc/group gpio:x:997:pi root@raspberrypi:/home/pi# ls -lL

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-25 Thread Koenraad Lelong
Op 25-01-16 om 09:00 schreef Koenraad Lelong: Op 25-01-16 om 00:18 schreef Marc Santhoff: I'm going to try that patch of Bo. I'll report back. First : I'm using pascalio, on a Pi2 model B. Just modified bcm2708.pas : GPIO_BASE = (BCM2708_PERI_BASE + $003F); // GPIO controller

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-25 Thread Koenraad Lelong
Op 25-01-16 om 09:40 schreef Koenraad Lelong: According to Bo's post (http://lists.lazarus.freepascal.org/pipermail/lazarus/2015-October/094438.html) GPIO_BASE depends on where the app runs. I'm going to look for a way to detect which device the application runs on so I can automatically switch

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-24 Thread Koenraad Lelong
Op 24-01-16 om 11:47 schreef Bo Berglund: On Fri, 22 Jan 2016 20:55:59 -0500, Donald Ziesig wrote: The application itself must run as root to do digital I/O. If you don't want to debug using the IDE, you don't have to make the IDE run as root, though, just the app. I do

Re: [Lazarus] Installation under SUSE

2016-01-06 Thread Koenraad Lelong
Op 06-01-16 om 19:40 schreef Josef Schnieder: Hello, the setup-script from http://www.getlazarus.org/setup/ will not work under SUSE (open SUSE 42.1 Leap). the message is: "This script requires the package libgdk-pixbuf2.0-dev which was not found on your system" But I can't find this package

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-18 Thread Koenraad Lelong
Op 17-12-15 om 18:17 schreef Mark Morgan Lloyd: Koenraad Lelong wrote: Op 17-12-15 om 11:36 schreef Mark Morgan Lloyd: $ fpc -iV 3.0.0 # Unpack 1.6RC1, rename directory to lazarus-1.6.0+3.0.0 $ cd lazarus-1.6.0+3.0.0 $ make bigide .. make[1]: Leaving directory ... lazarus-1.6.0+3.0.0

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-18 Thread Koenraad Lelong
Op 18-12-15 om 11:41 schreef Alfred: In my experience, fpres fails also due to lack of memory ! Just increase your swapsize with 500MB, and try again. Saved me many times. (normally, I use cross-compile ... also saves lots of time ... ) Hi, You seem to be right. I added swap, now I can

Re: [Lazarus] Printing on Raspberry Pi

2015-12-18 Thread Koenraad Lelong
Op 05-11-15 om 11:30 schreef Koenraad Lelong: Op 01-11-15 om 18:08 schreef Anthony Tekatch: I'm trying to print a lazreport on a Raspberry Pi2. It's not working, I get : Bus Error or misaligned data access Press OK to ignore ... Pressing OK does nothing. I managed to get Lazarus running

Re: [Lazarus] Printing on Raspberry Pi

2015-12-18 Thread Koenraad Lelong
I did some further testing. I modified the code somewhat : tmp1:=PPgw; tmp2:=kx; tmp1:=tmp1 * tmp2; Pgw:=round(tmp1); // Pgw := round(PPgw * kx); tmp1 and tmp2 are Double. Running in gdb and backtracing at the crash gives this : Program received signal SIGBUS,

Re: [Lazarus] Lazarus 1.6RC1 make bigide fails on Raspberry Pi2

2015-12-17 Thread Koenraad Lelong
Op 17-12-15 om 11:36 schreef Mark Morgan Lloyd: $ fpc -iV 3.0.0 # Unpack 1.6RC1, rename directory to lazarus-1.6.0+3.0.0 $ cd lazarus-1.6.0+3.0.0 $ make bigide .. make[1]: Leaving directory ... lazarus-1.6.0+3.0.0/components/chmhelp/lhelp' The result runs, including on Raspbian Jessie's GTK2.

[Lazarus] Editing stringgrid without keyboard

2015-11-21 Thread Koenraad Lelong
Hi, I'm trying to make an application that uses a touch-screen. I want to enter numbers in a stringgrid. I made a separate form to enter the number. I pop up my form using the OnClick event of the stringgrid. Unfortunately, I seem unable to get the number in the right cell. How can I know

Re: [Lazarus] Editing stringgrid without keyboard

2015-11-21 Thread Koenraad Lelong
Op 21-11-15 om 13:10 schreef Koenraad Lelong: Hi, I'm trying to make an application that uses a touch-screen. I want to enter numbers in a stringgrid. I made a separate form to enter the number. I pop up my form using the OnClick event of the stringgrid. Unfortunately, I seem unable to get

Re: [Lazarus] fpcup on arm-linux

2015-11-06 Thread Koenraad Lelong
Op 05-11-15 om 20:34 schreef Koenraad Lelong: Op 05-11-15 om 18:19 schreef Alfred: Use a very big swap (file) ! For Lazarus, at least 1GB is needed. On my RPi2, Lazarus installs (fpcup) and runs ok Thanks, But I have about 5G swap on a USB hard-disk. Koenraad. Hi, I made a new SD-card

Re: [Lazarus] Printing on Raspberry Pi

2015-11-05 Thread Koenraad Lelong
Op 01-11-15 om 18:08 schreef Anthony Tekatch: I'm trying to print a lazreport on a Raspberry Pi2. It's not working, I get : Bus Error or misaligned data access Press OK to ignore ... Pressing OK does nothing. I managed to get Lazarus running on my Odroid-C1 so I can debug. When running the

[Lazarus] fpcup on arm-linux

2015-11-05 Thread Koenraad Lelong
Hi, Did anyone succeed to run fpcup on a raspberrypi2 ? I added a USB-disk to the pi, to get swap and some disk-space. I started fpcuprpi2. This runs for a while and it seems to make freepascal successfully. But after a while building lazarus it hangs. On an odroid-C1 I can generate lazarus

Re: [Lazarus] fpcup on arm-linux

2015-11-05 Thread Koenraad Lelong
Op 05-11-15 om 18:19 schreef Alfred: Use a very big swap (file) ! For Lazarus, at least 1GB is needed. On my RPi2, Lazarus installs (fpcup) and runs ok Thanks, But I have about 5G swap on a USB hard-disk. Koenraad. -- ___ Lazarus mailing list

Re: [Lazarus] Printing on Raspberry Pi

2015-11-01 Thread Koenraad Lelong
Op 30-10-15 om 09:51 schreef Leonardo M. Ramé: El 29/10/15 a las 12:24, Koenraad Lelong escribió: Hi, I'm trying to print a lazreport on a Raspberry Pi2. It's not working, I get : Bus Error or misaligned data access Press OK to ignore ... Pressing OK does nothing. Any suggestions to solve

[Lazarus] Printing on Raspberry Pi

2015-10-29 Thread Koenraad Lelong
Hi, I'm trying to print a lazreport on a Raspberry Pi2. It's not working, I get : Bus Error or misaligned data access Press OK to ignore ... Pressing OK does nothing. Any suggestions to solve this ? I also tried the example from http://wiki.lazarus.freepascal.org/Using_the_printer. On my x86

Re: [Lazarus] WinCE call for testers

2015-10-15 Thread Koenraad Lelong
Op 15-10-15 om 10:20 schreef patspiper: Hi, The bug reporting/testing/fixing cycle for WinCE has been severely impacted by the ever dwindling number of WinCE users. I therefore ask all interested users to identify themselves so that we are able to communicate more closely in order to test/apply

Re: [Lazarus] Literature about REST

2015-10-11 Thread Koenraad Lelong
Op 08-10-15 om 17:23 schreef Luiz Americo Pereira Camara: > Hi, > > I would like to know more about web-programming with REST. Can anyone recommend books or web-sites to read about it ? I virtually know nothing about it. I read this book

[Lazarus] Literature about REST

2015-10-08 Thread Koenraad Lelong
Hi, I would like to know more about web-programming with REST. Can anyone recommend books or web-sites to read about it ? I virtually know nothing about it. Searching amazon gives a number of books, but since those are not cheap, I would like to get a good book for my money. Thanks,

Re: [Lazarus] Compiling lazarus on arm-linux

2015-09-30 Thread Koenraad Lelong
Op 30-09-15 om 19:06 schreef Mark Morgan Lloyd: Koenraad Lelong wrote: Op 30-09-15 om 15:43 schreef Martin Schreiber: This is wrong, you need a eabihf compiler, either a patched FPC 2.6.4 or better FPC 3.0.1 from here: http://sourceforge.net/projects/mseide-msegui/files/fpcrossarm/ Martin

[Lazarus] Compiling lazarus on arm-linux

2015-09-30 Thread Koenraad Lelong
Hi, I'm trying to compile lazarus on an arm-linux system (odroid C1, but also on RPi model 2). It works until this : ... make --assume-new=svn2revisioninc.pas svn2revisioninc make[2]: Entering directory `/home/odroid/Downloads/source/tools' Makefile:2332: warning: overriding commands for

Re: [Lazarus] Compiling lazarus on arm-linux

2015-09-30 Thread Koenraad Lelong
Op 30-09-15 om 15:43 schreef Martin Schreiber: This is wrong, you need a eabihf compiler, either a patched FPC 2.6.4 or better FPC 3.0.1 from here: http://sourceforge.net/projects/mseide-msegui/files/fpcrossarm/ Martin Thanks, Although the link points to a crosscompiler, I managed to compile

[Lazarus] Multiple versions of MySQL/MariaDB

2015-08-28 Thread Koenraad Lelong
Hi, What defines the TMySQL-connection-version ? Are those the installed libraries on the client ? Or is it the server ? Is it possible to detect which version of MySQL/MariaDB is used , and according to the result select the right connection, at run-time ? The problem is that my

Re: [Lazarus] LazReport - Feature questions

2015-07-10 Thread Koenraad Lelong
Op 10-07-15 om 09:36 schreef Michael Van Canneyt: The primary save format will be JSON, which can be converted to anything you want. I don't know much about JSON, but I'm about to start an application that writes to a label-printer (= small paper-sizes). Would it be possible to generate

Re: [Lazarus] Support for MariaDB 10.0

2015-06-12 Thread Koenraad Lelong
Op 10-06-15 om 07:43 schreef leledumbo: fpc 2.6.4-2.10, lazarus 1.4.0.0, OpenSuse 13.2 Perhaps opensuse team creates its own 2.6.4? AFAIR TMySQL56Connection is not available in 2.6.4. You should either use fixes 3.0.0 or trunk. I used fpc-up. In the about-form of lazarus I get : Version 1.5

Re: [Lazarus] Dropdown in stringgrid ?

2015-06-08 Thread Koenraad Lelong
Op 05-06-15 om 15:45 schreef Jesus Reyes A.: En Fri, 05 Jun 2015 05:55:51 -0500, Koenraad Lelong lazar...@de-brouwerij.be escribió: Op 03-06-15 om 01:19 schreef Jesus Reyes A.: In the grid such combobox is called a picklist. 1. Select the grid 2. In the Object Inspector select the columns

Re: [Lazarus] Support for MariaDB 10.0

2015-06-08 Thread Koenraad Lelong
Op 12-05-15 om 10:03 schreef leledumbo: Any support for MariaDB 10.0 branch? client library? TMySQL56Connection can connect to MariaDB perfectly. Hi, I have the MariaDB 10.0.13 client-libs. TMySQL56Connection can not connect. Any solution ? Thanks. --

Re: [Lazarus] Dropdown in stringgrid ?

2015-06-05 Thread Koenraad Lelong
Op 03-06-15 om 01:19 schreef Jesus Reyes A.: In the grid such combobox is called a picklist. 1. Select the grid 2. In the Object Inspector select the columns property and click the ... button. 3. Add some custom columns 4. Select the column where you wish to add a pick list 5. In the Object

Re: [Lazarus] StringGrid.loadFromCSVFile question

2015-06-02 Thread Koenraad Lelong
Op 01-06-15 om 15:30 schreef Bart: On 6/1/15, Koenraad Lelong lazar...@de-brouwerij.be wrote: A few months ago I made an application that uses StringGrid.LoadFromCSVFile. This worked. Now, on a PC with a newer linux-OS, and a newer Lazarus/FPC, I try to work further on that application but now

Re: [Lazarus] StringGrid.loadFromCSVFile question

2015-06-02 Thread Koenraad Lelong
Op 02-06-15 om 12:30 schreef Bart: On 6/2/15, Koenraad Lelong lazar...@de-brouwerij.be wrote: I think I better open a bug-report. I found what's the problem : I use two fixed rows. When I tried to make that sample program I was surprised the minimal version worked, but then I added a second

[Lazarus] Dropdown in stringgrid ?

2015-06-02 Thread Koenraad Lelong
Hi, I'm trying to make a universal importer. I have a database I want to populate/modify with data from a csv-file. The column order of the csv-file cannot be imposed. So I have to have a way to say which column of the csv-file is which field in the database. I have a commercial application

[Lazarus] StringGrid.loadFromCSVFile question

2015-06-01 Thread Koenraad Lelong
Hi, A few months ago I made an application that uses StringGrid.LoadFromCSVFile. This worked. Now, on a PC with a newer linux-OS, and a newer Lazarus/FPC, I try to work further on that application but now the application from the original sources crashes. It seems it can no longer

[Lazarus] Windows CE

2015-05-22 Thread Koenraad Lelong
Hi, I could be able to purchase a number of second hand intelligent barcode scanners. I have project in mind where I could use such devices. The scanners run Windows CE 5. Is it possible and advisable to develop for these devices using Lazarus ? I know Lazarus has support for Windows CE, but

[Lazarus] Unable to find method

2015-05-05 Thread Koenraad Lelong
Hi, I just re-installed my operating system : OpenSuse 13.2, 64bit. I used fpcup to get Lazarus. Actually, this is the first time I used fpcup. My first project using this new environment gives me the error Unable to find method. Please fix the error shown in the message window, ... In the

Re: [Lazarus] Unable to find method

2015-05-05 Thread Koenraad Lelong
Op 05-05-15 om 09:43 schreef Michael Van Canneyt: Looks like it cannot find the lazarus and Free Pascal sources. They need to be specified in the Tools|Options dialog under Environment. (Lazarus directory, and FPC source directory ) Michael. I rescanned for the sources, now it's fine.

Re: [Lazarus] Lazreport of master-detail

2014-06-26 Thread Koenraad Lelong
op 24-06-14 12:20, Reinier Olislagers schreef: On 24/06/2014 10:29, Koenraad Lelong wrote: backtrace. Can I have a backtrace in Windows ? Yes. Use e.g. -gw2 -gl -O-1 (Lazarus: dwarf 2 format, line number, no optimization, add -O-1 in extra options or whatever it's called) when compiling. Run

[Lazarus] Lazreport of master-detail

2014-06-24 Thread Koenraad Lelong
Hi, I got a strange problem when I show a Lazreport of a master-detail relationship. If the master-table contains an odd number of items, the report is OK. If it contains an even number of items it crashes with this error : Program received signal SIGSEGV, Segmentation fault.

Re: [Lazarus] service launch

2014-06-03 Thread Koenraad Lelong
op 03-06-14 15:45, A. Fortuny schreef: Yesy it does. AT the same time I have to apologize. After re-creating the service script from the original /etc/init.d/skeleton, - changing the first line as a /bin/bash script - adapt the comments in the INIT INFO about the service name - change the

Re: [Lazarus] Gdb and openocd via lazarus

2014-05-29 Thread Koenraad Lelong
op 28-05-14 22:39, Martin Schreiber schreef: On Wednesday 28 May 2014 12:36:57 Koenraad Lelong wrote: I tried to debug my arm-board with MSEide. I manually started openocd (I need to be root). Is the debug interface connected by USB? Then it is possible to setup an udev rule in order

Re: [Lazarus] Gdb and openocd via lazarus

2014-05-29 Thread Koenraad Lelong
op 28-05-14 13:57, Michael Ring schreef: Here's how I call gdb: arm-none-eabi-gdb hello.elf --tui --eval-command=target extended : --eval-command=monitor reset halt --eval-command=set mem inaccessible-by-default off --eval-command=load This loads the binary, you should end up with the

Re: [Lazarus] Gdb and openocd via lazarus

2014-05-28 Thread Koenraad Lelong
op 21-05-14 20:17, Martin Schreiber schreef: In MSEide the procedure is as follows - I assume same as in Lazarus: In 'Start gdb server command run target' write the command or script which starts the OpenOCD gdb proxy server (I don't know the command). Set 'Wait before connect' to the GDB

Re: [Lazarus] Gdb and openocd via lazarus

2014-05-28 Thread Koenraad Lelong
op 28-05-14 13:21, Martin Schreiber schreef: I don't think the theme is appropriate for this list. ;-) I hesitated to post in the Lazarus-list, because it's indeed not lazarus-related anymore. I find the theme is appopriate : gdb-debugging of pascal-source. I'll subscribe to yet another

Re: [Lazarus] Lazreport master-detail on one line

2014-05-27 Thread Koenraad Lelong
op 26-05-14 13:47, Reinier Olislagers schreef: (Note: haven't ever set up master/detail reporting in Lazreport, so just some ideas below) At least in other reporting solutions, master details means having some master band, then a detail band below it. This gives the following setup: Master1

Re: [Lazarus] How to color a field in a LazReport ?

2014-05-22 Thread Koenraad Lelong
op 10-03-14 15:33, Koenraad Lelong schreef: Hi, I'm trying to make the background of dbfield in a LazReport different. Hi, Just found out how to do this : In the report-editor there is a button 'Highlight Attributes'. I found this by chance by having my mouse stay over it for some time

[Lazarus] How to tell debugger what executable to use ?

2014-05-21 Thread Koenraad Lelong
Hi, I'm trying to use lazarus as a debugging-frontend for arm-embedded. I managed to configure lazarus to compile my source into arm-embedded-code for the STM32F103-processor. My next step is to configure lazarus to debug the code. When I do nothing, the debugger complains that project1 does

Re: [Lazarus] How to tell debugger what executable to use ?

2014-05-21 Thread Koenraad Lelong
op 21-05-14 13:35, Michael Ring schreef: ... Unfortunaltely the debugger cannot be set on project level, you need to set it in Tools-Options-Debugger That's where I configured the remote gdb options. But how do I tel it to use an elf-file ? Does lazarus svn have more possibilities ?

Re: [Lazarus] How to tell debugger what executable to use ?

2014-05-21 Thread Koenraad Lelong
op 21-05-14 15:59, Justin Smyth schreef: I can now compile in lazarus , I have openocd working it detects my board. I need to flash the elf file to my board , I have read open ocd can do , and I read somewhere GBD can do it too Whats the best way to do this ? Also do I need to have openocd

[Lazarus] Fpcup problem with Lazarus

2014-05-19 Thread Koenraad Lelong
Hi, I tried fpcup to get a user version of lazarus. With that I mean a version of lazarus where adding packages is more easy than with a packaged version of lazarus. But I'm exeriencing a problem. I ran fpcup and all seems OK, but when I make a simple project, form with a button, I can't

Re: [Lazarus] [LAZARUS] Minilib (was : Any Free/Cheap Async Serial Port Component)

2014-05-10 Thread Koenraad Lelong
op 10-05-14 16:44, Zaher Dirkey schreef: What functions? I added the missed file, and you can use the bug tracker. Try again Thank you Never mind those functions. I later read that I needed to use release, in stead of trunk. There all was OK. I will try again ASAP. Koenraad. --

Re: [Lazarus] [LAZARUS] Minilib (was : Any Free/Cheap Async Serial Port Component)

2014-05-10 Thread Koenraad Lelong
op 10-05-14 18:23, Koenraad Lelong schreef: op 10-05-14 16:44, Zaher Dirkey schreef: What functions? I added the missed file, and you can use the bug tracker. Try again Thank you Never mind those functions. I later read that I needed to use release, in stead of trunk. There all was OK. I

Re: [Lazarus] [LAZARUS] Minilib (was : Any Free/Cheap Async Serial Port Component)

2014-05-08 Thread Koenraad Lelong
op 06-05-14 21:08, Zaher Dirkey schreef: Try https://sourceforge.net/p/minilib https://sourceforge.net/p/minilib/code/HEAD/tree/trunk/comm/ Hi, Out of curiosity I looked into this, and I downloaded the source from sourceforge. Trying to install I found problems : minicommons never compiled

Re: [Lazarus] How to color a field in a LazReport ?

2014-03-11 Thread Koenraad Lelong
op 10-03-14 17:28, Jesus Reyes schreef: El Lunes, 10 de marzo, 2014 9:10:39, Koenraad Lelong escribió: Hi, Have you tried procedure TDataModule1.frReport1EnterRect(Memo: TStringList; View: TfrView); begin if Dataset.FieldByName('VERSCHIL').asFloat0.0 then View.FillColor

[Lazarus] Bugtracker password lost

2014-03-10 Thread Koenraad Lelong
Hi, I'm trying to log into the bugtracker. Unfortunately I forgot the password. Moreover, the email-address is not valid anymore. What can I do ? Create a new account ? Regards, Koenraad. -- ___ Lazarus mailing list

Re: [Lazarus] LazReport Database

2014-03-10 Thread Koenraad Lelong
op 09-01-12 09:36, Koenraad Lelong schreef: On 05-01-12 18:07, Mattias Gaertner wrote: Can you create a small example and a bug report? Mattias http://bugs.freepascal.org/view.php?id=21050 Koenraad Hi, With a new project, last week I tried to do this again. First with Lazarus 1.08

Re: [Lazarus] Bugtracker password lost

2014-03-10 Thread Koenraad Lelong
op 10-03-14 11:02, Michael Van Canneyt schreef: On Mon, 10 Mar 2014, Koenraad Lelong wrote: Hi, I'm trying to log into the bugtracker. Unfortunately I forgot the password. Moreover, the email-address is not valid anymore. What can I do ? Create a new account ? If you give me the name

[Lazarus] How to color a field in a LazReport ?

2014-03-10 Thread Koenraad Lelong
Hi, I'm trying to make the background of dbfield in a LazReport different. I tried using the userds example, but it does not work. This is what I wrote : procedure TDataModule1.frReport1EnterRect(Memo: TStringList; View: TfrView); begin if FNegative then View.FillColor:=clRed else

[Lazarus] Rowheight of a DBGrid

2013-09-09 Thread Koenraad Lelong
will be bigger. I found some code to calculate the required height, but I get a compile-error on this line : WidgetSet.DrawText(DC, pChar(str), Length(str), fRect, DT_CALCRECT or Options); Where do I find that WidgetSet ? Thanks for any pointers. Koenraad Lelong

Re: [Lazarus] Memo for touchscreen

2013-08-28 Thread Koenraad Lelong
Op 27-08-13 18:50, Malcolm Poole schreef: This happens because '§' and the other 'characters' are represented in UTF8 by more than one byte. I reproduced your problem and got around it by replacing Inc(testcaretpos); by Inc(testcaretpos, Length(Kars)); I don't know what consequences this might

Re: [Lazarus] Memo for touchscreen

2013-08-26 Thread Koenraad Lelong
with a string : Kars:='§'; Memo1.Text := Copy(Memo1.Text, 1, testcaretpos) + Kars + Copy(Memo1.Text, testcaretpos+1, MaxInt); Actually, I do this in a procedure with Kars as a parameter. Any suggestions where to look ? BTW, I tried this on Lazarus 1.0 on Linux. Thanks, Koenraad Lelong

[Lazarus] Postgresql error

2013-08-05 Thread Koenraad Lelong
tried UpWhereAll, with the same error as result. Lazarus 1.08, fpc 2.6.2 on winXP-32 bit. What am I doing wrong ? Thanks, Koenraad Lelong -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] Postgresql error [solved]

2013-08-05 Thread Koenraad Lelong
Op 05-08-13 11:19, Koenraad Lelong schreef: Hi, I can't find out why I get this error in my application : EPQDatabase Error pqMyServer1 : Preparation of query failed (PostgreSQL:ERROR: prepared statement prepst0 already exists) Severity : ERROR SQL State : 42P05 Hi, The problem is solved

Re: [Lazarus] Memo for touchscreen

2013-07-21 Thread Koenraad Lelong
.SelStart := newcaretPos; Memo1.SetFocus; end; Hi, Thanks, but you're too nice, leave me some homework ! ;-) Koenraad Lelong -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Memo for touchscreen

2013-07-19 Thread Koenraad Lelong
Op 18-07-13 17:32, waldo kitty schreef: On 7/18/2013 07:54, Koenraad Lelong wrote: whatever you choose, you appear to need at least some sort of on-screen keyboard component like some (so-called) smartphones have... Waldo, I was working on that. I also thought of virtual keyboards

Re: [Lazarus] Memo for touchscreen

2013-07-19 Thread Koenraad Lelong
, MaxInt); Memo1.SelStart := testcaretpos; Memo1.SetFocus; end; Thanks, Works fine, except for navigating up and down. Left and right is OK, I have to find out how to know on what line the cursor is, and then going to the next/previous line, if possible. regards, Koenraad Lelong

[Lazarus] Memo for touchscreen

2013-07-18 Thread Koenraad Lelong
, Delete ? How do I hide the rightedge of the synMemo ? Just set it to the backgroundcolor ? Is there a better component ? B.T.W. it will run on linux. Regards, Koenraad Lelong. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] PDF in a Form

2013-07-13 Thread Koenraad Lelong
because some (different) units are not found. Could you provide some guide how to setup lazarus to compile firepos ? Thanks in advance, Koenraad Lelong -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

Re: [Lazarus] PDF in a Form

2013-07-13 Thread Koenraad Lelong
Op 13-07-13 18:40, Paul Breneman schreef: Thank you *very* much Koenraad for mentioning that this project uses fpGUI. I didn't find any docs at the site but I hope to study the code more ASAP. It is very interesting to see a fpGUI program set up for use with a touchscreen! I've started down

[Lazarus] Touchscreen

2013-06-30 Thread Koenraad Lelong
to a linux-machine. Any suggestions ? Thanks, Koenraad Lelong -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] SDPO and recent Lazarus

2013-02-21 Thread Koenraad Lelong
that uses that component so I had to re-install Lazarus 0.9.30. I remember something about LResource and FileUtil. Regards, Koenraad Lelong -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] Lazarus and Arm Embedded.( see FPC Bug report 23844)

2013-02-14 Thread Koenraad Lelong
to have an account on the service (like dropbox or susestudio) ? Thanks, Koenraad Lelong. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus and Arm Embedded.( see FPC Bug report 23844)

2013-02-14 Thread Koenraad Lelong
Op 14-02-13 17:15, Michael Schnell schreef: On 02/14/2013 04:46 PM, Koenraad Lelong wrote: I would like to test this. Could you give a link to the wiki-page ? We did not start it yet. Supposedly first a German version will be done. Ill translate it to English when it's ready. Hi, I don't

[Lazarus] Upgrading a project

2013-02-08 Thread Koenraad Lelong
in the future ? Thanks. Regards, Koenraad Lelong -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] emulating DBCtrlGrid ?

2012-12-17 Thread Koenraad Lelong
was thinking of emulating that grid with a scrollbox and creating memo's in it when the master-table scrolls. Is this a good idea ? Are there better ways to do this ? The database is not too big, a few hundred master-rows, each with a few details. Thanks for your advice, Koenraad Lelong

Re: [Lazarus] ODBC-problems

2012-11-21 Thread Koenraad Lelong
a VM for x86 Win XP (Virtual XP mode), which may work for you. That would be a problem I think. I'm running Win7 as a VM on a linux host. Regards, Koenraad Lelong -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

[Lazarus] ODBC-problems

2012-11-20 Thread Koenraad Lelong
to contact it via lazarus gives is OK. Then I tried to do the same with a system DSN. There I have a problem, see the image. I tried to do the same with the Pervasive driver, but there I have the problem for both user-DSN and system DSN. Am I doing something wrong ? Thanks for any help, Koenraad

Re: [Lazarus] ODBC-problems

2012-11-20 Thread Koenraad Lelong
, Koenraad Lelong. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] ODBC-problems

2012-11-20 Thread Koenraad Lelong
On 20-11-12 12:13, Koenraad Lelong wrote: In Win7 64 bit only the system DSN of Firebird works. Sorry, should be user DSN works, system DSN does not work. Koenraad Lelong. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] ODBC-problems

2012-11-20 Thread Koenraad Lelong
On 20-11-12 12:35, Reinier Olislagers wrote: On 20-11-2012 12:23, Koenraad Lelong wrote: On 20-11-12 12:13, Koenraad Lelong wrote: In Win7 64 bit only the system DSN of Firebird works. Sorry, should be user DSN works, system DSN does not work. As you're using 32 bit Lazarus, just

Re: [Lazarus] RE : TProcess-problem (solved)

2012-07-10 Thread Koenraad Lelong
On 10-07-12 08:50, Ludo Brands wrote: That's under Windows, using Lazarus 0.9.30.4. What is the fpc version? Tprocess is part of fpc. There have been some changes recently in trunk because of parameter quoting problems. Can you give an example of the executable and parameters that fail?

[Lazarus] TProcess-problem

2012-07-09 Thread Koenraad Lelong
have to do to keep the dos-box open ? Then, maybe, I can see more about the problem. Now it opens and closes too fast, impossible to see anything. The error I can see because I use a pipe to get the output of the dos-application. That's under Windows, using Lazarus 0.9.30.4. Thanks, Koenraad

[Lazarus] Manually creating a form

2012-06-29 Thread Koenraad Lelong
, Koenraad Lelong. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Manually creating a form

2012-06-29 Thread Koenraad Lelong
On 29-06-12 11:22, Antonio Fortuny wrote: upper:=10; for i:=0 to 4 do begin form2.Height:=form2.height+25; edits[i]:=Tedit.Create(self); edits[i].Parent:=form2; edits[i].Parent:=Self; That simple ! Thanks. It works now. Koenraad --

Re: [Lazarus] How to use DBCombobox

2012-06-18 Thread Koenraad Lelong
On 18-06-12 11:28, Koenraad Lelong wrote: No suggestions what I'm doing wrong ? I enclose a project, using the employee-database. Regards, Koenraad Lelong. Hi, I forgot to say that scrolling the grid makes the highlighted field of the grid appear in the combobox, but only that field

Re: [Lazarus] How to use DBCombobox

2012-06-18 Thread Koenraad Lelong
On 18-06-12 11:44, Reinier Olislagers wrote: Try seeing if a DBLookupCombobox does what you want: it should let you select a value out of another table and insert that into the field bound to the dblookupcombobox. Hi, Just tried, it's worse. There absolutely nothing shows. I must be doing

[Lazarus] How to use DBCombobox

2012-06-17 Thread Koenraad Lelong
in the DBCombobox. But the drop down of the DBCombobox shows nothing so I can't select other records than the first. I'm using Lazarus 0.9.30.4 with FPC 2.6.0. What am I missing ? Regards, Koenraad Lelong. -- ___ Lazarus mailing list Lazarus

[Lazarus] Another Master-detail problem

2012-04-27 Thread Koenraad Lelong
-table. When I added the post-statements, I got an error : qryDetail is not in insert or edit mode. What am I doing wrong ? Thanks for any clarification, Koenraad Lelong. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

[Lazarus] Sorting with TDBGrid

2012-04-26 Thread Koenraad Lelong
of the colums' title). Is this implemented in TDBGrid ? I could add a v or ^ to the title to indicate the sorting order, but that's not nice to see. I'm using Lazarus 0.9.30.4 on Windows. Thanks, Koenraad Lelong. -- ___ Lazarus mailing list Lazarus

[Lazarus] File copy

2012-04-26 Thread Koenraad Lelong
will try this in a next version. Comments, tips, etc. are welcome. Thanks, Koenraad Lelong. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] File copy

2012-04-26 Thread Koenraad Lelong
On 26-04-12 15:45, Antonio Fortuny wrote: Le 26/04/2012 14:57, Koenraad Lelong a écrit : Hi, I would like to make an application to centrally store documents. I will put a reference to the location in a Firebird database, so I can retrieve (and show) the document. This could lead to very

Re: [Lazarus] Vector graphics

2012-04-10 Thread Koenraad Lelong
On 06-04-12 15:11, Felipe Monteiro de Carvalho wrote: On Fri, Apr 6, 2012 at 3:02 PM, Koenraad Lelong lazar...@de-brouwerij.be wrote: So I would need some drawing routines, eventually with filled surfaces i.e. filled circles, rectangles but also rectangles with rounded corners, etc. What could

  1   2   >