Re: [Lazarus] The magic of samplecfg

2011-03-14 Thread Graeme Geldenhuys
Op 2011-03-13 18:17, Luca Olivetti het geskryf: That you can't open any other file while that one (or any other file with no extension) is open. It works fine for me. Using my old Lazarus (from Jan 2011) at home [32-bit system running on Ubuntu 8.04.4], and using latest 0.9.30 here at work

[Lazarus] How to implement automatic sizing?

2011-03-14 Thread Hans-Peter Diettrich
When I e.g. want to automatically extend the last column of a list(view) to the available space (kind of alClient), how should I proceed? The list columns have an AutoSize property, but it has the adverse effect of *shrinking* columns to the size of the header text. The list control has no

Re: [Lazarus] QuickSort procedure - raised exception class 'External SIGSEGV'

2011-03-14 Thread Joerg Schuelke
Am Mon, 14 Mar 2011 15:29:36 +1100 schrieb Peter Williams pewilliams2...@live.com: Procedure QuickSort( Var island_single_array : island_single_type;   left, right : integer);   Var     d       : island_single_type; The initialzation of d is missing. Accessing d results SIGSEGV. In the

[Lazarus] an icon for Lazarus Data Desktop

2011-03-14 Thread Graeme Geldenhuys
Hi, This tool is extremely useful for tiOPF developers, thus I use it a lot [thanks again Michael]. Is there an official [or even unofficial] icon for the Lazarus Data Desktop (lazdatadesktop) tool? It's been living in my desktop menus for months, but with the default unknown Gnome icon. :-(

Re: [Lazarus] an icon for Lazarus Data Desktop

2011-03-14 Thread michael . vancanneyt
On Mon, 14 Mar 2011, Graeme Geldenhuys wrote: Hi, This tool is extremely useful for tiOPF developers, thus I use it a lot [thanks again Michael]. Is there an official [or even unofficial] icon for the Lazarus Data Desktop (lazdatadesktop) tool? It's been living in my desktop menus for

[Lazarus] More explorations with tiOPF

2011-03-14 Thread Frank Church
1. I am trying out the Lazarus demos in tiOPF and I have come across an error. When I compile Demo_OneToMany I get the error: FMainOneToMany.pas(90,20) Error: identifier idents no member AddField lTableMetaData.AddField('OID', qfkString, 36); // Using GUID OIDs I fixed

Re: [Lazarus] More explorations with tiOPF

2011-03-14 Thread Graeme Geldenhuys
Op 2011-03-14 13:17, Frank Church het geskryf: I fixed this by changing to AddInstance as it was commented out and documented in the source. Thank for the note, I'll update the demos. 2. Is the source for the lazdatadesktop available. Yes, it's included with Lazarus in the

Re: [Lazarus] QuickSort procedure - raised exception class 'External SIGSEGV'

2011-03-14 Thread Peter Williams
Hi Joerg, Date: Mon, 14 Mar 2011 10:17:09 +0100 From: joerg.schue...@gmx.de To: lazarus@lists.lazarus.freepascal.org Subject: Re: [Lazarus] QuickSort procedure - raised exception class 'External SIGSEGV' Am Mon, 14 Mar 2011 15:29:36 +1100 schrieb Peter Williams pewilliams2...@live.com:

Re: [Lazarus] QuickSort procedure - raised exception class 'External SIGSEGV'

2011-03-14 Thread Marc Weustink
Peter Williams wrote: Hi All, I am trying to use some legacy Delphi QuickSort code. The problem is that the original defines this var: Var d : ptrArray Absolute da; and I have changed this in my version and it crashes with an error. Project Island_maker.exe raised exception class 'External

[Lazarus] Problem with creating debs

2011-03-14 Thread dibo20
Hi, I am trying create debs like always by calling create_lazarus_deb.sh script. But now I get error: gtkwinapi.inc(1861,4) Fatal: Syntax error, . expected but ; found make command works fine. Regards -- ___ Lazarus mailing list

Re: [Lazarus] QuickSort procedure - raised exception class 'External SIGSEGV'

2011-03-14 Thread Joerg Schuelke
Am Mon, 14 Mar 2011 23:41:56 +1100 schrieb Peter Williams pewilliams2...@live.com: Hi Joerg, Date: Mon, 14 Mar 2011 10:17:09 +0100 From: joerg.schue...@gmx.de To: lazarus@lists.lazarus.freepascal.org Subject: Re: [Lazarus] QuickSort procedure - raised exception class 'External

[Lazarus] Lazarus on Suse 11.4

2011-03-14 Thread Michael Schnell
I switched from Open Suse 11.1 to open Suse 11.4. I reinstalled fpc and Lazarus from the svn. Now I recompiled my EventTest application and found some funny stuff. 1) I can't compile it with fpGZUI and GTK (1) Widget Type any more. I was able (auto-) compile the appropriate packages before

Re: [Lazarus] Problem with creating debs

2011-03-14 Thread Mattias Gaertner
    dib...@wp.pl hat am 14. März 2011 um 14:37 geschrieben: Hi, I am trying create debs like always by calling create_lazarus_deb.sh script. But now I get error: gtkwinapi.inc(1861,4) Fatal: Syntax error, . expected but ; found  The script compiles the old gtk1 interface too.     make

Re: [Lazarus] Lazarus on Suse 11.4

2011-03-14 Thread Juha Manninen
Michael Schnell kirjoitti maanantai 14 maaliskuu 2011 16:09:42: I switched from Open Suse 11.1 to open Suse 11.4. I tried it also but some webmail pages don't work with any browser there. I can run the same pages with my Fedora which otherwise needs lots of tweaking. I have no idea how to fix

Re: [Lazarus] Problem with creating debs

2011-03-14 Thread Vincent Snijders
2011/3/14 Mattias Gaertner nc-gaert...@netcologne.de: dib...@wp.pl hat am 14. März 2011 um 14:37 geschrieben: Hi, I am trying create debs like always by calling create_lazarus_deb.sh script. But now I get error: gtkwinapi.inc(1861,4) Fatal: Syntax error, . expected but ; found The

Re: [Lazarus] Problem with creating debs

2011-03-14 Thread Mattias Gaertner
    Vincent Snijders vincent.snijd...@gmail.com hat am 14. März 2011 um 15:46 geschrieben: 2011/3/14 Mattias Gaertner nc-gaert...@netcologne.de: dib...@wp.pl hat am 14. März 2011 um 14:37 geschrieben: Hi, I am trying create debs like always by calling create_lazarus_deb.sh script.

[Lazarus] VK codes error message

2011-03-14 Thread brian
I have a fairly simple Lazarus program, just a few edit boxes on a form to enter some filenames and then it's doing a bunch of simple manipulations on a text file. Using Linux Mint 9 (a fork from Ubuntu), Free Pascal 2.4.0 and Lazarus 0.9.28.2, all 64-bit versions, when I run the program from

Re: [Lazarus] Lazarus on Suse 11.4

2011-03-14 Thread zeljko
On Mon, 14 Mar 2011 15:09:42 +0100, Michael Schnell mschn...@lumino.de wrote: I switched from Open Suse 11.1 to open Suse 11.4. I reinstalled fpc and Lazarus from the svn. Now I recompiled my EventTest application and found some funny stuff. 1) I can't compile it with fpGZUI and GTK (1)

Re: [Lazarus] Lazarus on Suse 11.4

2011-03-14 Thread Henry Vermaak
On 14 March 2011 15:31, zel...@holobit.net wrote: On Mon, 14 Mar 2011 15:09:42 +0100, Michael Schnell mschn...@lumino.de wrote: I switched from Open Suse 11.1 to open Suse 11.4. I reinstalled fpc and Lazarus from the svn. Now I recompiled my EventTest application and found some funny

Re: [Lazarus] Problem with creating debs

2011-03-14 Thread dibo20
W dniu 14.03.2011 15:46, Vincent Snijders pisze: 2011/3/14 Mattias Gaertnernc-gaert...@netcologne.de: dib...@wp.pl hat am 14. März 2011 um 14:37 geschrieben: Hi, I am trying create debs like always by calling create_lazarus_deb.sh script. But now I get error: gtkwinapi.inc(1861,4) Fatal:

Re: [Lazarus] Problem with creating debs

2011-03-14 Thread Mattias Gaertner
    Mattias Gaertner nc-gaert...@netcologne.de hat am 14. März 2011 um 16:08 geschrieben:  [...] I am trying create debs like always by calling create_lazarus_deb.sh script. [...] [...] Do we still need this script. make deb in the Lazarus directory works too. It seems make deb

Re: [Lazarus] Lazarus on Suse 11.4

2011-03-14 Thread Michael Schnell
On 03/14/2011 03:22 PM, Juha Manninen wrote: I tried it also but some webmail pages don't work with any browser there. I can run the same pages with my Fedora which otherwise needs lots of tweaking. I have no idea how to fix the issues in OpenSuse. I don't see how FireFox would run different

Re: [Lazarus] Lazarus on Suse 11.4

2011-03-14 Thread Michael Schnell
On 03/14/2011 04:31 PM, zel...@holobit.net wrote: Yes, I've fixed that few months ago. A few months I tested this I think two weeks ago and it did not work and I posted my results here. Seemingly something with my upgrading did not work as expected :-( . -Michael --

Re: [Lazarus] Lazarus on Suse 11.4

2011-03-14 Thread Michael Schnell
On 03/14/2011 04:31 PM, zel...@holobit.net wrote: Yes, I've fixed that few months ago. 4) QueAsyncCall still does not work. (A call is only issued when some GUI event happens.) Don't know anything about this. I feel that PostMessage and TApplication.QueueAsyncCall, which essentially do

Re: [Lazarus] VK codes error message

2011-03-14 Thread Marc Weustink
brian wrote: I have a fairly simple Lazarus program, just a few edit boxes on a form to enter some filenames and then it's doing a bunch of simple manipulations on a text file. Using Linux Mint 9 (a fork from Ubuntu), Free Pascal 2.4.0 and Lazarus 0.9.28.2, all 64-bit versions, when I run the

Re: [Lazarus] VK codes error message

2011-03-14 Thread Marc Weustink
Marc Weustink wrote: brian wrote: I have a fairly simple Lazarus program, just a few edit boxes on a form to enter some filenames and then it's doing a bunch of simple manipulations on a text file. Using Linux Mint 9 (a fork from Ubuntu), Free Pascal 2.4.0 and Lazarus 0.9.28.2, all 64-bit

Re: [Lazarus] More explorations with tiOPF

2011-03-14 Thread Frank Church
On 14 March 2011 11:37, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Op 2011-03-14 13:17, Frank Church het geskryf: I fixed this by changing to AddInstance as it was commented out and documented in the source. Thank for the note, I'll update the demos. 2. Is the source for the

[Lazarus] TExtendedNotebook without drop arrows on GTK

2011-03-14 Thread dibo20
Hi, Is lazarus source editor using TExtendedNotebook from LazControls palette? Because when I change tab position by mouse drag, source editor component have arrows which shows new position, but TExtendedNotebook doesn't have (only drag cursor is changing). This is only on GTK, on windows I

Re: [Lazarus] TExtendedNotebook without drop arrows on GTK

2011-03-14 Thread Martin
On 14/03/2011 19:52, dib...@wp.pl wrote: Hi, Is lazarus source editor using TExtendedNotebook from LazControls palette? Because when I change tab position by mouse drag, source editor component have arrows which shows new position, but TExtendedNotebook doesn't have (only drag cursor is

Re: [Lazarus] TExtendedNotebook without drop arrows on GTK

2011-03-14 Thread dibo20
W dniu 14.03.2011 22:06, Martin pisze: On 14/03/2011 19:52, dib...@wp.pl wrote: Hi, Is lazarus source editor using TExtendedNotebook from LazControls palette? Because when I change tab position by mouse drag, source editor component have arrows which shows new position, but

Re: [Lazarus] TExtendedNotebook without drop arrows on GTK

2011-03-14 Thread Martin
On 14/03/2011 21:43, dib...@wp.pl wrote: W dniu 14.03.2011 22:06, Martin pisze: On 14/03/2011 19:52, dib...@wp.pl wrote: Hi, Is lazarus source editor using TExtendedNotebook from LazControls palette? Because when I change tab position by mouse drag, source editor component have arrows which

Re: [Lazarus] TExtendedNotebook without drop arrows on GTK

2011-03-14 Thread dibo20
W dniu 14.03.2011 22:50, Martin pisze: On 14/03/2011 21:43, dib...@wp.pl wrote: W dniu 14.03.2011 22:06, Martin pisze: On 14/03/2011 19:52, dib...@wp.pl wrote: Hi, Is lazarus source editor using TExtendedNotebook from LazControls palette? Because when I change tab position by mouse drag,

[Lazarus] Unable to rewrite .ini file which exists... error unable to create .ini file. (need to rewrite it).

2011-03-14 Thread Peter Williams
Hi All, I use this procedure to save an inifile using the standard IniFiles unit. The problem I have is that when an .ini file already exists I cannot overwrite it. I need the TextFiles equivalent of Rewrite() for Inifiles. This line: ConfigIni :=