Re: [Lazarus] focus problem with autocomplete list

2010-07-13 Thread ik
I also experience this using KDE and GTK build. It seems that the auto-complete opens a new window that does not accept the focus, but keeps it on the editor window. When I use a single window button on the task bar, I do not remember it happening at all (I hope I'll have some time over the

Re: [Lazarus] focus problem with autocomplete list

2010-07-13 Thread Bernd
2010/7/13 ik ido...@gmail.com: I also experience this using KDE and GTK build.  It seems that the auto-complete opens a new window that does not accept the focus, but keeps it on the editor window. http://docs.kde.org/development/en/kdebase-workspace/kcontrol/windowbehaviour/index.html in the

Re: [Lazarus] TreeView with columns

2010-07-13 Thread Vincent Snijders
2010/7/13 Juha Manninen juha.manni...@phnet.fi: Noli Sicad wrote: Then why don't you use VitualTreeView in Lazarus? It is supported in Lazarus. I just install it the other day. Actually I would need it for the Lazarus code itself, for converter configuration. VirtualTreeView is not very big

Re: [Lazarus] TBufDataSet, TMemDataSet and a big headache.

2010-07-13 Thread Joost van der Sluis
On Mon, 2010-07-12 at 20:58 -0300, Marcelo B de Paula wrote: Hi list, As the subject of this post suggest, i am in trouble with these components. I read that TMemDataSet was similar to Delphi´s TClientDataSet as memory dataset. But i also read that people was using TBufDataSet instead of

Re: [Lazarus] TreeView with columns

2010-07-13 Thread Juha Manninen
Now I remember, last time I checked VirtualTreeView for Lazarus it had x86 assembly code which is not portable obviously. Is that still the case? VirtualTreeView cannot be used for Lazarus itself if it's not portable. Juha -- ___ Lazarus mailing list

Re: [Lazarus] File functions in codetools FileProcs

2010-07-13 Thread Mattias Gaertner
On Tue, 13 Jul 2010 14:44:53 +0300 Juha Manninen juha.manni...@phnet.fi wrote: Then there is FileExists -- FileExistsUTF8($1) Now only I realized that FileExistsUTF8 and other UTF8 functions are defined in codetools FileProcs unit. I guess a dependency for it should be added to the

Re: [Lazarus] TreeView with columns

2010-07-13 Thread Luiz Americo Pereira Camara
Juha Manninen escreveu: Now I remember, last time I checked VirtualTreeView for Lazarus it had x86 assembly code which is not portable obviously. Is that still the case? Yes. Luiz VirtualTreeView cannot be used for Lazarus itself if it's not portable. Juha --

Re: [Lazarus] TreeView with columns

2010-07-13 Thread Mattias Gaertner
On Tue, 13 Jul 2010 08:35:36 -0300 Luiz Americo Pereira Camara luiz...@oi.com.br wrote: Juha Manninen escreveu: Now I remember, last time I checked VirtualTreeView for Lazarus it had x86 assembly code which is not portable obviously. Is that still the case? Yes. Luiz

Re: [Lazarus] File functions in codetools FileProcs

2010-07-13 Thread Juha Manninen
Probably you already do this: if the project uses the LCL it should use the unit FileUtil. Ok, it is either codetools/FileProcs or lcl/FileUtil, depending on which one is last in Uses section. I guess it is again some more duplicated code between codetools and LCL. The problem comes when

Re: [Lazarus] TreeView with columns

2010-07-13 Thread Noli Sicad
VirtualTreeView cannot be used for Lazarus itself if it's not portable. In the Object Inspector there is inspector tab, so it is up to developer /programmer what components he use in his program. The 3 VTV components does not have restrictions in my lazarus installation - Windows, x86 Mac OS X

Re: [Lazarus] File functions in codetools FileProcs

2010-07-13 Thread Mattias Gaertner
On Tue, 13 Jul 2010 15:11:13 +0300 Juha Manninen juha.manni...@phnet.fi wrote: Probably you already do this: if the project uses the LCL it should use the unit FileUtil. Ok, it is either codetools/FileProcs or lcl/FileUtil, depending on which one is last in Uses section. Uses section?

Re: [Lazarus] TreeView with columns

2010-07-13 Thread Juha Manninen
Noli Sicad wrote: In the Object Inspector there is inspector tab, so it is up to developer /programmer what components he use in his program. The 3 VTV components does not have restrictions in my lazarus installation - Windows, x86 Mac OS X and x86 Linux OS. Now the question was about the

Re: [Lazarus] TreeView with columns

2010-07-13 Thread Luiz Americo Pereira Camara
Juha Manninen escreveu: Including VirtualTreeView into Lazarus code-base would make it compile on x86 architecture only and many people would be unhappy. I wouldn't be happy either if I forced such a limitation. (although I currently have only x86 machines myself.) @Luiz: is there any plan to

Re: [Lazarus] Replacing Delphi function calls with FCL/LCL functions by converter

2010-07-13 Thread Juha Manninen
Mattias Gaertner wrote: Maybe the converter can add comments, what it has done. It does now. The comment is added at the end of the converted function which makes the line long sometimes. I can later try adding a new line for the comment in front of the function call. I try to make the

Re: [Lazarus] File functions in codetools FileProcs

2010-07-13 Thread Juha Manninen
Mattias Gaertner wrote: Uses section? Maybe you mean required package? Maybe. I have lazarus.lpi open and my mind is mixed up. BTW, unit FileUtil is one of the base units of the LCL, without widgetset dependencies. Using it in console applications is safe. Yes, after adding LCL dependency

[Lazarus] TDbGrid almost read-only ? :-)

2010-07-13 Thread Bogusław Brandys
Hi I'd like to set TDBGrid when almost all columns except first are read- only. So far so good - I have set them to read only and first column which is boolean type has nice checkboxes. I have two little problems yet : when scrolling with down arrow DBGrid tries to add empty row in the end

Re: [Lazarus] File functions in codetools FileProcs

2010-07-13 Thread Michael Van Canneyt
On Tue, 13 Jul 2010, Juha Manninen wrote: Mattias Gaertner wrote: Uses section? Maybe you mean required package? Maybe. I have lazarus.lpi open and my mind is mixed up. BTW, unit FileUtil is one of the base units of the LCL, without widgetset dependencies. Using it in console

Re: [Lazarus] TreeView with columns

2010-07-13 Thread Paul Ishenin
13.07.2010 7:30, Juha Manninen wrote: If I want to use columns in a TreeView, what alternatives I have? One alternative is to implement column support for TTreeView component. According to treeview.inc file this feature was in someone todo list. Best regards, Paul Ishenin. --

Re: [Lazarus] File functions in codetools FileProcs

2010-07-13 Thread Mattias Gaertner
On Tue, 13 Jul 2010 16:06:39 +0200 (CEST) Michael Van Canneyt mich...@freepascal.org wrote: On Tue, 13 Jul 2010, Juha Manninen wrote: Mattias Gaertner wrote: Uses section? Maybe you mean required package? Maybe. I have lazarus.lpi open and my mind is mixed up. BTW, unit

Re: [Lazarus] File functions in codetools FileProcs

2010-07-13 Thread Michael Van Canneyt
On Tue, 13 Jul 2010, Mattias Gaertner wrote: On Tue, 13 Jul 2010 16:06:39 +0200 (CEST) Michael Van Canneyt mich...@freepascal.org wrote: On Tue, 13 Jul 2010, Juha Manninen wrote: Mattias Gaertner wrote: Uses section? Maybe you mean required package? Maybe. I have lazarus.lpi open and

[Lazarus] TBufDataSet, TMemDataSet and a big headache.

2010-07-13 Thread Marcelo B de Paula
Thanks Joost for the answer. I forgot to mention that i am using Lazarus trunk (0.9.29 rev 26602) with fpc 2.5.1. I just mentioned TClientDataset because of others said here in the list and in Lazarus forum. My concern is that the component seems to be incomplete e can cause some user

Re: [Lazarus] TreeView with columns

2010-07-13 Thread Hans-Peter Diettrich
Juha Manninen schrieb: Noli Sicad wrote: Then why don't you use VitualTreeView in Lazarus? It is supported in Lazarus. I just install it the other day. Actually I would need it for the Lazarus code itself, for converter configuration. VirtualTreeView is not very big but it adds some more

Re: [Lazarus] AV on Mandriva 2010 KDE4

2010-07-13 Thread Jean-Marc
Le Saturday 10 July 2010 22:39:00 Mattias Gaertner, vous avez écrit : On Sat, 10 Jul 2010 22:00:57 +0200 Jean-Marc jmarc.levec...@dbmail.com wrote: Hi, Using Lazarus 0.9.28 on my old Mdv 2008-1 KDE3.5, I am willing to move to the new Mdv 2010-1 KDE4. Surprisingly, it carries

Re: [Lazarus] TDbGrid almost read-only ? :-)

2010-07-13 Thread Frank Church
2010/7/13 Bogusław Brandys bran...@o2.pl Hi I'd like to set TDBGrid when almost all columns except first are read- only. So far so good - I have set them to read only and first column which is boolean type has nice checkboxes. I have two little problems yet : when scrolling with down arrow

Re: [Lazarus] TDbGrid almost read-only ? :-)

2010-07-13 Thread Bogusław Brandys
Frank Church pisze: 2010/7/13 Bogusław Brandys bran...@o2.pl mailto:bran...@o2.pl Hi I'd like to set TDBGrid when almost all columns except first are read- only. So far so good - I have set them to read only and first column which is boolean type has nice checkboxes. I have

Re: [Lazarus] Lazarus settings on WinXP

2010-07-13 Thread Hans-Peter Diettrich
Zaher Dirkey schrieb: On Tue, Jul 13, 2010 at 3:14 PM, Marcos Douglas m...@delfire.net mailto:m...@delfire.net wrote: Sorry guys, for my crazy idea =) But I have another doubt: The Lazarus should be started by startlazarus.exe, right? If I use arguments in lazarus.exe, how

Re: [Lazarus] Lazarus settings on WinXP

2010-07-13 Thread Marcos Douglas
Hi Zaher, 2010/7/13 Zaher Dirkey parm...@gmail.com: There is old topic, it is easy to change the source of Lazarus ide http://www.mail-archive.com/lazarus@lists.lazarus.freepascal.org/msg07179.html I did not understand. I not want to change the source... I want to change only settings files