Re: [Lazarus] TListView.TopItem and TListView.GetItemAt()

2010-07-22 Thread theo
Is there *any* way to get/set the scroll position of the list? For GTK2 TListView.TopItem watch this bug report: http://bugs.freepascal.org/view.php?id=17010 Regards Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] Error message

2010-07-22 Thread Brian Smart
Hi, I get the following error message when I try to run a test program: C:\Lazarus\LcL\forms.pp(45,3) Error: source not found: unit C\Lazarus\fpc\2.2.4\units\i386-win32\flc-base\gettext.ppu The file referred to gettext.ppu is in the folder indicated by the error message. How do I resolve

[Lazarus] Identifier Completion - Unit not found

2010-07-22 Thread Guionardo Furlan
Buenas staff (this message was send to Editor section of the forum, but nobody answered yet, sou I hope you can help me) I am organizing my package of utilities, for ease of maintenance here. But I have a very annoying problem in Laz 9.0.29-24657/FPC 2.4.0 The package compiles without problems,

Re: [Lazarus] Error message

2010-07-22 Thread Mattias Gaertner
On Thu, 22 Jul 2010 12:55:29 +0100 Brian Smart brian.sm...@blueyonder.co.uk wrote: Hi, I get the following error message when I try to run a test program: C:\Lazarus\LcL\forms.pp(45,3) Error: source not found: unit C\Lazarus\fpc\2.2.4\units\i386-win32\flc-base\gettext.ppu Is this

[Lazarus] Resolve an error message

2010-07-22 Thread Brian Smart
Hi, When I try to add an event to a button added to my program, I get the following error message: C:\Lazarus\LcL\forms.pp(45,3) Error: source not found: unit C\Lazarus\fpc\2.2.4\units\i386-win32\flc-base\gettext.ppu The file indicated is in the directory listed. How to I resolve this

Re: [Lazarus] Identifier Completion - Unit not found

2010-07-22 Thread Mattias Gaertner
On Thu, 22 Jul 2010 09:01:07 -0300 Guionardo Furlan guiona...@gmail.com wrote: Buenas staff (this message was send to Editor section of the forum, but nobody answered yet, sou I hope you can help me) I am organizing my package of utilities, for ease of maintenance here. But I have a very

[Lazarus] Issue 16987: Source Editor: Ctrl+A moves cursor to the end of file

2010-07-22 Thread Alexander Klenin
[Martin requested me to reply here instead of the bugtracker] Having the caret in the middle of the selection, after ctrl-a would hinder other users from quickly selecting all, but the last n lines (by deselecting a few lines after ctrl-a.) This is not a very compelling argument, since

[Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread Marcos Douglas
I added a tuturial to compile and install FPC/Lazarus, from sources of SVN, on Windows. Link: http://wiki.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN Just my 2 cents... :) Regards, MD -- ___ Lazarus

[Lazarus] show declaration hints has more power in it than is really used

2010-07-22 Thread Bernd
There is something that could boost productivity and learning curve of new developers by a factor of three at least and all needed infrastructure (at least the hardest parts) for this feature seem to be implemented and working already, it is just not (yet) used to its full potential. I have one

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread Marcos Douglas
On Thu, Jul 22, 2010 at 11:08 AM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Thu, 22 Jul 2010 11:01:05 -0300 Marcos Douglas m...@delfire.net wrote: I added a tuturial to compile and install FPC/Lazarus, from sources of SVN, on Windows. Link:

Re: [Lazarus] Issue 16987: Source Editor: Ctrl+A moves cursor to the end of file

2010-07-22 Thread Martin
On 22/07/2010 14:29, Alexander Klenin wrote: [Martin requested me to reply here instead of the bugtracker] Having the caret in the middle of the selection, after ctrl-a would hinder other users from quickly selecting all, but the last n lines (by deselecting a few lines after ctrl-a.)

Re: [Lazarus] Issue 16987: Source Editor: Ctrl+A moves cursor to the end of file

2010-07-22 Thread Alexander Klenin
On Fri, Jul 23, 2010 at 01:56, Martin laza...@mfriebe.de wrote: I think this would be even worse than current behavior -- not only the caret position would be lost, but this fact would also be hidden from the user. Tried it notepad++? I thought it was nice, but I don't need it, so I am not

Re: [Lazarus] show declaration hints has more power in it than is really used

2010-07-22 Thread Mattias Gaertner
On Thu, 22 Jul 2010 16:38:03 +0200 Bernd prof7...@googlemail.com wrote: [...] It will show the text of the above comment when hovering the mouse over any occurrence of this method call. This is a GREAT feature. :) It also shows the text of the fpdoc nodes. Now here comes my complaint: 99%

Re: [Lazarus] show declaration hints has more power in it than is really used

2010-07-22 Thread Andreas Schneider
On Thu, 22 Jul 2010 16:38:03 +0200, Bernd prof7...@googlemail.com wrote: It will show the text of the above comment when hovering the mouse over any occurrence of this method call. This is a GREAT feature. It also shows fpdoc entries. That is even more useful ;-) Now here comes my

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread shoKwave
On 22.07.2010 16:01, Marcos Douglas wrote: I added a tuturial to compile and install FPC/Lazarus, from sources of SVN, on Windows. Link: http://wiki.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN Hi, this is a good thing but I think it won't

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread Mattias Gaertner
On Thu, 22 Jul 2010 11:33:08 -0300 Marcos Douglas m...@delfire.net wrote: On Thu, Jul 22, 2010 at 11:08 AM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Thu, 22 Jul 2010 11:01:05 -0300 Marcos Douglas m...@delfire.net wrote: I added a tuturial to compile and install FPC/Lazarus,

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread Marcos Douglas
On Thu, Jul 22, 2010 at 12:37 PM, shoKwave shokw...@gmx.net wrote:  On 22.07.2010 16:01, Marcos Douglas wrote: I added a tuturial to compile and install FPC/Lazarus, from sources of SVN, on Windows. Link:

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread Marcos Douglas
On Thu, Jul 22, 2010 at 12:51 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Thu, 22 Jul 2010 11:33:08 -0300 Marcos Douglas m...@delfire.net wrote: [snip] So, what do you want? I want you to explain to the wiki readers, what each step does and why it is needed, and what to do when

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread shoKwave
On 22.07.2010 18:53, Marcos Douglas wrote: I described in step #1: Dir: c:\freepascal\binutils\i386-win32\ URL: http://svn.freepascal.org/svn/fpcbuild/branches/fixes_2_4/install/binw32 Just open this URL in your preferred browser and see there's no ppc386.exe. You'll have to copy it from

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread Kjow
2010/7/22 Marcos Douglas m...@delfire.net: I added a tuturial to compile and install FPC/Lazarus, from sources of SVN, on Windows. Link: http://wiki.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN Just my 2 cents...  :) Regards, MD Just for

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread Marcos Douglas
On Thu, Jul 22, 2010 at 2:46 PM, Kjow antispamm...@gmail.com wrote: 2010/7/22 Marcos Douglas m...@delfire.net: I added a tuturial to compile and install FPC/Lazarus, from sources of SVN, on Windows. Link:

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread Reimar Grabowski
On Thu, 22 Jul 2010 14:55:56 -0300 Marcos Douglas m...@delfire.net wrote: So, where is the ppc386.exe in SVN, exists? Of course not. No binaries in SVN, only source, as it should be. Best is to install stable FPC and then compile the SVN version with it. After that replace the stable with your

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread Marcos Douglas
On Thu, Jul 22, 2010 at 3:21 PM, Reimar Grabowski reimg...@web.de wrote: On Thu, 22 Jul 2010 14:55:56 -0300 Marcos Douglas m...@delfire.net wrote: So, where is the ppc386.exe in SVN, exists? Of course not. No binaries in SVN, only source, as it should be. Not so fast... here there are some

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread Alexsander Rosa
IMHO the Wiki should have a basic and short tutorial: 1. Download FPC binaries (linkWin32 - linkLinux - linkOthers) 2. Install FPC (current ie 2.4.0) via install.sh or exe (default /usr/bin or $ProgramFiles) 3. Download (link for basic sources) FPC sources 4. Uncompress the sources somewhere (take

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread Reimar Grabowski
On Thu, 22 Jul 2010 15:27:14 -0300 Marcos Douglas m...@delfire.net wrote: Not so fast... here there are some binaries: http://svn.freepascal.org/svn/fpcbuild/branches/fixes_2_4/install/binw32/ I really hope you know the difference between those binaries and ppc386.exe. So, is it mandatory to

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread Reimar Grabowski
On Thu, 22 Jul 2010 15:38:19 -0300 Alexsander Rosa alexsander.r...@gmail.com wrote: IMHO the Wiki should have a basic and short tutorial: 1. Download FPC binaries (linkWin32 - linkLinux - linkOthers) 2. Install FPC (current ie 2.4.0) via install.sh or exe (default /usr/bin or $ProgramFiles)

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread Marcos Douglas
On Thu, Jul 22, 2010 at 3:42 PM, Reimar Grabowski reimg...@web.de wrote: On Thu, 22 Jul 2010 15:27:14 -0300 Marcos Douglas m...@delfire.net wrote: Not so fast... here there are some binaries: http://svn.freepascal.org/svn/fpcbuild/branches/fixes_2_4/install/binw32/ I really hope you know the

Re: [Lazarus] show declaration hints has more power in it than is really used

2010-07-22 Thread Bernd
2010/7/22 Andreas Schneider ak...@gmx.de: Many classes and methods are already documented in fpdoc. Ok, now I'm looking for these files but it seems It is not so easy to find them anywhere on the ftp server or the website or sf.net. I am using one of the recent snapshots and It would be nice

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread waldo kitty
On 7/22/2010 10:33, Marcos Douglas wrote: So, what do you want? Delete all information about wince and x86_64 or somebody will complete these informations? i wouldn't delete them... i'm rather interested because i want/need to figure out how to cross compile for OS2 and linux... --

[Lazarus] Build Number

2010-07-22 Thread Kjow
Hi all, Is it possible to use inside the application the build number? Since Lazarus has an auto-increment of the build number, I would to include a label with the revision in the gui of my app... :) Thanks, Kjow -- ___ Lazarus mailing list

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread waldo kitty
On 7/22/2010 14:21, Reimar Grabowski wrote: On Thu, 22 Jul 2010 14:55:56 -0300 Marcos Douglasm...@delfire.net wrote: So, where is the ppc386.exe in SVN, exists? Of course not. No binaries in SVN, only source, as it should be. Best is to install stable FPC and then compile the SVN version

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread waldo kitty
On 7/22/2010 14:27, Marcos Douglas wrote: On Thu, Jul 22, 2010 at 3:21 PM, Reimar Grabowskireimg...@web.de wrote: Best is to install stable FPC and then compile the SVN version with it. After that replace the stable with your newly created version. So, is it mandatory to install one version

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread waldo kitty
On 7/22/2010 14:42, Reimar Grabowski wrote: Disclaimer: I am not a Windows guy and don't know what a exe is, means or does. :) in the DOS/Win world, the extension traditionally denotes what the file can do... .exe and .com are executables... .com files are basically memory snaps and

[Lazarus] does anyone remember polyglot?

2010-07-22 Thread waldo kitty
does anyone remember polyglot? here's the sources to the 10th anniversary edition that i've had stashed away for quite some time ;) somehow i don't think it can be fitted into a lazarus GUI format too easily... not without some breakage... but i may be wrong about that... FPC should be able

Re: [Lazarus] Build Number

2010-07-22 Thread Mattias Gaertner
On Thu, 22 Jul 2010 23:42:41 +0200 Kjow antispamm...@gmail.com wrote: Hi all, Is it possible to use inside the application the build number? Since Lazarus has an auto-increment of the build number, I would to include a label with the revision in the gui of my app... :) No. Unless you

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread waldo kitty
On 7/22/2010 14:55, Marcos Douglas wrote: On Thu, Jul 22, 2010 at 3:42 PM, Reimar Grabowskireimg...@web.de wrote: On Thu, 22 Jul 2010 15:27:14 -0300 Marcos Douglasm...@delfire.net wrote: Not so fast... here there are some binaries:

Re: [Lazarus] Build Number

2010-07-22 Thread Paul Ishenin
23.07.2010 6:12, Mattias Gaertner wrote: Is it possible to use inside the application the build number? Since Lazarus has an auto-increment of the build number, I would to include a label with the revision in the gui of my app... :) No. Unless you write a tool/script that is called before

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread Reimar Grabowski
On Thu, 22 Jul 2010 18:07:41 -0400 waldo kitty wkitt...@windstream.net wrote: there's a lot more to this story but this isn't the place for it and i'd have to really dig for more meaty info if it were desired ;) Very kind of you, but I know google, thanks. R. -- A: Because it messes up the

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread Reimar Grabowski
On Thu, 22 Jul 2010 17:49:59 -0400 waldo kitty wkitt...@windstream.net wrote: in other words, from a w2k box, if i grab the sources for i386-win and the sources for i386-linux and the sources for i386-OS2 and run the full compilation process, will i truly end up with the compilers for

Re: [Lazarus] Build Number

2010-07-22 Thread waldo kitty
On 7/22/2010 18:12, Mattias Gaertner wrote: On Thu, 22 Jul 2010 23:42:41 +0200 Kjowantispamm...@gmail.com wrote: Hi all, Is it possible to use inside the application the build number? Since Lazarus has an auto-increment of the build number, I would to include a label with the revision in the

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread waldo kitty
On 7/22/2010 18:55, Reimar Grabowski wrote: On Thu, 22 Jul 2010 17:49:59 -0400 waldo kittywkitt...@windstream.net wrote: in other words, from a w2k box, if i grab the sources for i386-win and the sources for i386-linux and the sources for i386-OS2 and run the full compilation process, will i

Re: [Lazarus] does anyone remember polyglot?

2010-07-22 Thread Marc Weustink
waldo kitty wrote: does anyone remember polyglot? here's the sources to the 10th anniversary edition that i've had stashed away for quite some time ;) somehow i don't think it can be fitted into a lazarus GUI format too easily... not without some breakage... but i may be wrong about that...

Re: [Lazarus] does anyone remember polyglot?

2010-07-22 Thread waldo kitty
On 7/22/2010 19:21, Marc Weustink wrote: waldo kitty wrote: does anyone remember polyglot? here's the sources to the 10th anniversary edition that i've had stashed away for quite some time ;) somehow i don't think it can be fitted into a lazarus GUI format too easily... not without some

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread Reimar Grabowski
On Thu, 22 Jul 2010 19:02:13 -0400 waldo kitty wkitt...@windstream.net wrote: Then you know what you are doing is that a requirement? especially when one simply wants to write a program (hello world for instance) and compile it for each of the available platforms ;) Understanding is

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread waldo kitty
On 7/22/2010 22:01, Reimar Grabowski wrote: On Thu, 22 Jul 2010 19:02:13 -0400 waldo kittywkitt...@windstream.net wrote: Then you know what you are doing is that a requirement? especially when one simply wants to write a program (hello world for instance) and compile it for each of the