Re: [Lazarus] tooltip debugger shows incorrect data

2010-10-14 Thread Michael Van Canneyt
On Thu, 14 Oct 2010, Adem wrote: On 2010-10-13 10:25, Graeme Geldenhuys wrote: Such basic features really should work in any IDE. If we can't trust the debugger, who can we trust? I don't mean to hijack this thread but as we're talking about debugging here, there's a question I have been

[Lazarus] Form transparency

2010-10-14 Thread Mark Morgan Lloyd
I think this is pretty much an FAQ, but I'm having problems getting transparency working. Am I correct in believing that if I set AlphaBlend true and put say 128 in AlphaBlendValue then a form should show what's on the desktop behind it? Lazarus 0.9.29 27705 (just refreshed) Debian Lenny on

[Lazarus] How do you use codetools to declare new variables

2010-10-14 Thread Frank Church
I remember seeing in the docs where after creating a variable, some key press will jump to the var section of a procedure to insert that variable. Can someone remind me what it is? -- Frank Church === http://devblog.brahmancreations.com --

[Lazarus] Strange Behaviour of TBits

2010-10-14 Thread Julien Devillers
Hello I found a strange behaviour of TBits. Example : procedure TForm1.Button1Click(Sender: TObject); var x:TBits; begin x:=TBits.Create(); x[0] := true; showmessage(inttostr( x.size)); x[1] := false; showmessage(inttostr( x.size)); x[2] := false;

Re: [Lazarus] TListView compatibility Delphi = Lazarus?

2010-10-14 Thread Bo Berglund
On Thu, 14 Oct 2010 11:03:06 +0300, Juha Manninen (gmail) juha.mannine...@gmail.com wrote: On Wednesday 13 October 2010 23:22:48 Bo Berglund wrote: But the pages I have visited decribing how the compilation of Lazarus is done has masses of commands of various kinds including discussions on

Re: [Lazarus] How do you use codetools to declare new variables

2010-10-14 Thread Michael Van Canneyt
On Thu, 14 Oct 2010, Frank Church wrote: I remember seeing in the docs where after creating a variable, some key press will jump to the var section of a procedure to insert that variable. Can someone remind me what it is? ctrl-shift-c But it doesn't work in all circumstances. Michael.

Re: [Lazarus] How do you use codetools to declare new variables

2010-10-14 Thread Sven Barth
Am 14.10.2010 11:22, schrieb Frank Church: I remember seeing in the docs where after creating a variable, some key press will jump to the var section of a procedure to insert that variable. Can someone remind me what it is? Ctrl+Shift+C You need to be on an assignment to the variable (e.g. s

Re: [Lazarus] TListView compatibility Delphi = Lazarus?

2010-10-14 Thread Vincent Snijders
2010/10/14 Bo Berglund bo.bergl...@gmail.com: I got fpc-2.4.0.i386-win32 released in Dec 2009 from SF. I also got the combined lazarus-0.9.28.2-fpc-2.2.4-win32 with an earlier release. Both are binary installers. If I run the FPC installer I will get 2.4.0 and if I then run the Lazarus

Re: [Lazarus] TListView compatibility Delphi = Lazarus?

2010-10-14 Thread Bo Berglund
On Thu, 14 Oct 2010 11:44:35 +0200, Vincent Snijders vincent.snijd...@gmail.com wrote: If you compile in Lazarus, the fpc compiler which is in the set in the environment options is used. If you compile from the command line, the fpc compiler set in the make command is used. If none is set, the

[Lazarus] Code Template Macros

2010-10-14 Thread Lee Jenkins
Hi all, Currently there is the pipe character (|) that indicates where the carat should be placed after a Code Template is finished rendering itself in the editor. Is there currently a symbol to use to indicate that a tab should be inserted into the generated code? Delphi TClass =

Re: [Lazarus] Strange Behaviour of TBits

2010-10-14 Thread Julien Devillers
De : Julien Devillers [mailto:jdevill...@opti-time.com] Envoyé : jeudi 14 octobre 2010 11:24 À : Lazarus mailing list Objet : [Lazarus] Strange Behaviour of TBits Hello I found a strange behaviour of TBits. Example : procedure TForm1.Button1Click(Sender: TObject); var

Re: [Lazarus] Strange Behaviour of TBits

2010-10-14 Thread Gerard N/A
Julien --- Correction : I’m using FPC 2.2.4. __ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 5530 (20101014) __ Le message a été vérifié par ESET NOD32 Antivirus. http://www.eset.com

[Lazarus] sqlite3 app on linux

2010-10-14 Thread Andrea Mauri
dear all, I am working on an app using sqlite. I use sqlite3connection. My app is actually completed and I am preparing the installer. For Linux I made a deb and a rpm package including the dependency to libsqlite3-0. The installing procedure works fine but when I run my app I get: can not

Re: [Lazarus] sqlite3 app on linux

2010-10-14 Thread Michael Van Canneyt
On Thu, 14 Oct 2010, Andrea Mauri wrote: dear all, I am working on an app using sqlite. I use sqlite3connection. My app is actually completed and I am preparing the installer. For Linux I made a deb and a rpm package including the dependency to libsqlite3-0. The installing procedure works

Re: [Lazarus] sqlite3 app on linux

2010-10-14 Thread Andrea Mauri
Il 14/10/2010 15:51, Michael Van Canneyt ha scritto: Yes. Put the following in the startup code of your app: uses sqlite3dyn; begin InitializeSqlite('libsqlite3.so.0'); end; I tried but now I get the following error when I create at runtime the sqlite db and related tables: sqlite

Re: [Lazarus] Code Template Macros

2010-10-14 Thread Lee Jenkins
On 10/14/2010 8:01 AM, Mattias Gärtner wrote: Zitat von Lee Jenkins l...@datatrakpos.com: Hi all, Currently there is the pipe character (|) that indicates where the carat should be placed after a Code Template is finished rendering itself in the editor. Is there currently a symbol to use to

Re: [Lazarus] sqlite3 app on linux

2010-10-14 Thread Michael Van Canneyt
On Thu, 14 Oct 2010, Andrea Mauri wrote: Il 14/10/2010 15:51, Michael Van Canneyt ha scritto: Yes. Put the following in the startup code of your app: uses sqlite3dyn; begin InitializeSqlite('libsqlite3.so.0'); end; I tried but now I get the following error when I create at runtime the

[Lazarus] Increase the speed of the scroll (in Source Editor) when holding Ctrl

2010-10-14 Thread silvioprog
Hi guys, In Delphi 7 (and others) this (Ctrl+Wheel) works, but in Lazarus not. :( Thanks, -- Silvio Clécio, *programmer* *ObjectPascal* -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Strange Behaviour of TBits

2010-10-14 Thread Julien Devillers
provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 5530 (20101014) __ Le message a été vérifié par ESET NOD32 Antivirus. http://www.eset.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Increase the speed of the scroll (in Source Editor) when holding Ctrl

2010-10-14 Thread Graeme Geldenhuys
Op 2010-10-14 17:01, silvioprog het geskryf: Hi guys, In Delphi 7 (and others) this (Ctrl+Wheel) works, but in Lazarus not. :( Kinetic scrolling, or whatever you call it... Mac OSX has this in listboxes and comboboxes... That would be nicer. The faster you roll the wheel the further it

Re: [Lazarus] sqlite3 app on linux

2010-10-14 Thread Andrea Mauri
Il 14/10/2010 16:55, Michael Van Canneyt ha scritto: On Thu, 14 Oct 2010, Andrea Mauri wrote: Il 14/10/2010 15:51, Michael Van Canneyt ha scritto: Yes. Put the following in the startup code of your app: uses sqlite3dyn; begin InitializeSqlite('libsqlite3.so.0'); end; I tried but now I

Re: [Lazarus] WebData

2010-10-14 Thread Leonardo M . Ramé
On 2010-10-11 10:47:05 -0300, Leonardo M. Ramé wrote: I will check your project at noon. Michael. Thanks. Hi Michael, did you check my example? -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list

Re: [Lazarus] Lazarus Manager

2010-10-14 Thread Joshua Lim
Hi Kjow, the attachment got filtered, so i'll post the top part here: set OLDDIR=%CD% set PATHDEST=D:\Develop set PATH=%PATH%;%PATHDEST%\fpc\binutils\ set OLDPATH=%PATH% set SVN=Slik-Subversion-1.6.12-win32.msi set FPCURL=http://downloads.sourceforge.net/project/freepascal/Win32/2.4.0 set

Re: [Lazarus] WebData

2010-10-14 Thread Leonardo M . Ramé
On 2010-10-14 13:00:29 -0300, Leonardo M. Ramé wrote: On 2010-10-11 10:47:05 -0300, Leonardo M. Ramé wrote: I will check your project at noon. Michael. Thanks. Hi Michael, did you check my example? Nevermind, I found the solution. -- Leonardo M. Ramé

Re: [Lazarus] WebData

2010-10-14 Thread waldo kitty
On 10/14/2010 19:47, Leonardo M. Ramé wrote: On 2010-10-14 13:00:29 -0300, Leonardo M. Ramé wrote: On 2010-10-11 10:47:05 -0300, Leonardo M. Ramé wrote: I will check your project at noon. Michael. Thanks. Hi Michael, did you check my example? Nevermind, I found the solution.

Re: [Lazarus] WebData

2010-10-14 Thread Leonardo M . Ramé
On 2010-10-14 21:22:59 -0400, waldo kitty wrote: On 10/14/2010 19:47, Leonardo M. Ramé wrote: On 2010-10-14 13:00:29 -0300, Leonardo M. Ramé wrote: On 2010-10-11 10:47:05 -0300, Leonardo M. Ramé wrote: I will check your project at noon. Michael. Thanks. Hi Michael, did you check