Re: [Lazarus] VFI

2011-01-18 Thread michael . vancanneyt
On Tue, 18 Jan 2011, Mattias Gaertner wrote: On Tue, 18 Jan 2011 02:20:43 +0200 Juha Manninen juha.mannine...@gmail.com wrote: Hi I started to test the Visual Form Inheritance feature after reading about Michael Van Canneyt's many forms. I never really used that feature in Delphi myself.

Re: [Lazarus] LCL improvement idea

2011-01-18 Thread michael . vancanneyt
On Tue, 18 Jan 2011, Max Vlasov wrote: On Mon, Jan 17, 2011 at 2:08 PM, Michael Van Canneyt mich...@freepascal.org wrote: TLabelDefaults = Class(TPersistent) // Selected properties. end; and Var LabelDefaults : TLabelDefaults; Which are applied as soon as a TLabel control is

Re: [Lazarus] [fpc-pascal] Ruby-scripting for FPC and Lazarus

2011-01-18 Thread michael . vancanneyt
On Tue, 18 Jan 2011, Ivan Shikhalev wrote: 2010/12/24 Michael Van Canneyt mich...@freepascal.org: load the low-level support 'on demand', adapting to whatever version is there. Done. The new version is at https://github.com/shikhalev/ppruby I get an error: fsb: git pull

Re: [Lazarus] GUI Front-end to Windows console application???

2011-01-18 Thread Sven Barth
Am 17.01.2011 23:52, schrieb Bo Berglund: On Thu, 13 Jan 2011 23:02:03 +0100, Bo Berglund bo.bergl...@gmail.com wrote: On Thu, 13 Jan 2011 22:02:32 +0100, Sven Barth pascaldra...@googlemail.com wrote: On 13.01.2011 21:47, Bo Berglund wrote: Any pointers to how this can be done

Re: [Lazarus] GUI Front-end to Windows console application???

2011-01-18 Thread Andreas Schneider
On Mon, 17 Jan 2011 23:52:58 +0100, Bo Berglund wrote: So far so good, but when I read the help on TProcess it says that this property applies only to Windows. So what happens on Linux? Will the console show up on screen then? Or is it automatically hidden in Linux? There is nothing to hide

Re: [Lazarus] Get binary (byte by byte) from a HTTP host

2011-01-18 Thread José Mejuto
Hello Lazarus-List, Tuesday, January 18, 2011, 4:13:13 AM, you wrote: s Not works, Document property always is empty in OnMonitor event. x( You can not access Document from OnMonitor, you can only access Socked properties/status. Synapse is blocking, so : 1) HTTPSend prepare headers. 2)

Re: [Lazarus] LCL improvement idea

2011-01-18 Thread Max Vlasov
On Tue, Jan 18, 2011 at 11:25 AM, michael.vancann...@wisa.be wrote: On Tue, 18 Jan 2011, Max Vlasov wrote: On Mon, Jan 17, 2011 at 2:08 PM, Michael Van Canneyt mich...@freepascal.org wrote: ... Var LabelDefaults : TLabelDefaults; Which are applied as soon as a TLabel control is

Re: [Lazarus] VFI

2011-01-18 Thread Juha Manninen
michael.vancann...@wisa.be kirjoitti tiistai 18 tammikuu 2011 10:18:51: How to register other forms there? What do you mean? Registering a custom form in the IDE, I suppose. See the components/customform package. It demonstrates how to add your own forms to the IDE File-New menu. I

Re: [Lazarus] LCL improvement idea

2011-01-18 Thread Alex Shishkin
18.01.2011 13:31, Max Vlasov : Hmm, Michael, I understand you here, but I think that the main drawback about application-wide (so possibly run-time only) is about losing design-time magic. For example when you have 10 panels, go change some design-time property and they changed their view all

Re: [Lazarus] VFI

2011-01-18 Thread Juha Manninen
Mattias Gaertner kirjoitti tiistai 18 tammikuu 2011 03:38:20: In: File - New... - Inherited Item - Inherited Component there are the existing forms of the current project. A new inherited form can be made based on them. IMO the header Inherited Component is wrong. It should be

Re: [Lazarus] VFI

2011-01-18 Thread michael . vancanneyt
On Tue, 18 Jan 2011, Juha Manninen wrote: michael.vancann...@wisa.be kirjoitti tiistai 18 tammikuu 2011 10:18:51: How to register other forms there? What do you mean? Registering a custom form in the IDE, I suppose. See the components/customform package. It demonstrates how to add your

Re: [Lazarus] LCL improvement idea

2011-01-18 Thread michael . vancanneyt
On Tue, 18 Jan 2011, Max Vlasov wrote: On Tue, Jan 18, 2011 at 11:25 AM, michael.vancann...@wisa.be wrote: On Tue, 18 Jan 2011, Max Vlasov wrote: On Mon, Jan 17, 2011 at 2:08 PM, Michael Van Canneyt mich...@freepascal.org wrote: ... Var LabelDefaults : TLabelDefaults; Which

Re: [Lazarus] VFI

2011-01-18 Thread Mattias Gaertner
On Tue, 18 Jan 2011 12:47:24 +0200 Juha Manninen juha.mannine...@gmail.com wrote: Mattias Gaertner kirjoitti tiistai 18 tammikuu 2011 03:38:20: In: File - New... - Inherited Item - Inherited Component there are the existing forms of the current project. A new inherited form can

Re: [Lazarus] VFI

2011-01-18 Thread Juha Manninen
michael.vancann...@wisa.be kirjoitti tiistai 18 tammikuu 2011 13:01:18: The new custom forms are not under 'Inherited items' but are straight under 'New Items' ? I see only File - New... and from there : http://koti.phnet.fi/juhamann/Lazarus/FileNew.jpg Am I looking at a wrong place? I guess

Re: [Lazarus] LCL improvement idea

2011-01-18 Thread Max Vlasov
On Tue, Jan 18, 2011 at 2:11 PM, michael.vancann...@wisa.be wrote: Hmm, Michael, I understand you here, but I think that the main drawback about application-wide (so possibly run-time only) is about losing design-time magic. For example when you have 10 panels, go change some design-time

Re: [Lazarus] LCL improvement idea

2011-01-18 Thread michael . vancanneyt
On Tue, 18 Jan 2011, Max Vlasov wrote: On Tue, Jan 18, 2011 at 2:11 PM, michael.vancann...@wisa.be wrote: Hmm, Michael, I understand you here, but I think that the main drawback about application-wide (so possibly run-time only) is about losing design-time magic. For example when you

Re: [Lazarus] GUI Front-end to Windows console application???

2011-01-18 Thread Sven Barth
Am 18.01.2011 10:05, schrieb Andreas Schneider: On Mon, 17 Jan 2011 23:52:58 +0100, Bo Berglund wrote: So far so good, but when I read the help on TProcess it says that this property applies only to Windows. So what happens on Linux? Will the console show up on screen then? Or is it

Re: [Lazarus] SDL.pas Error while linking in Lazarus 0.9.28.2 and 0.9.29

2011-01-18 Thread Peter Williams
Hi Dominique, This problem occurs with Lazarus on Mint 10 Linux and Windows. A normal Lazarus application does not get this error. I will investigate Delphi XE on my Windows 7 Ultimate system tomorrow as it is 12:14am now and time to make my bed and get some sleep. I will email you later today

Re: [Lazarus] LCL improvement idea

2011-01-18 Thread Mattias Gaertner
On Tue, 18 Jan 2011 14:02:12 +0100 (CET) michael.vancann...@wisa.be wrote: [...] My system will be significantly faster, and is easily controllable on a per-component basis. and does not interfere at design time, which avoids all kinds of context problems. Although setting

Re: [Lazarus] LCL improvement idea

2011-01-18 Thread Max Vlasov
On Tue, Jan 18, 2011 at 4:02 PM, michael.vancann...@wisa.be wrote: On Tue, 18 Jan 2011, Max Vlasov wrote: On Tue, Jan 18, 2011 at 2:11 PM, michael.vancann...@wisa.be wrote: Hmm, Michael, I understand you here, but I think that the main drawback about application-wide (so possibly

[Lazarus] anchors on centos

2011-01-18 Thread Andrea Mauri
Dear all, I have an application running on win and linux. (lazarus svn fpc 2.4.2). I have some problems running it on CentOS 5.5. So I installed CentOS on virtualbox and I am trying to do some tests. I installed fpc 2.4.2 and lazarus svn. Lazarus runs fine but if I click on Anchors property in

Re: [Lazarus] anchors on centos

2011-01-18 Thread Mattias Gaertner
On Tue, 18 Jan 2011 14:50:13 +0100 Andrea Mauri andrea.mauri...@gmail.com wrote: Dear all, I have an application running on win and linux. (lazarus svn fpc 2.4.2). I have some problems running it on CentOS 5.5. So I installed CentOS on virtualbox and I am trying to do some tests. I installed

Re: [Lazarus] anchors on centos

2011-01-18 Thread Andrea Mauri
Il 18/01/2011 14:55, Mattias Gaertner ha scritto: On Tue, 18 Jan 2011 14:50:13 +0100 Andrea Mauriandrea.mauri...@gmail.com wrote: Dear all, I have an application running on win and linux. (lazarus svn fpc 2.4.2). I have some problems running it on CentOS 5.5. So I installed CentOS on

Re: [Lazarus] anchors on centos

2011-01-18 Thread Mattias Gaertner
On Tue, 18 Jan 2011 15:25:42 +0100 Andrea Mauri andrea.mauri...@gmail.com wrote: Il 18/01/2011 14:55, Mattias Gaertner ha scritto: On Tue, 18 Jan 2011 14:50:13 +0100 Andrea Mauriandrea.mauri...@gmail.com wrote: Dear all, I have an application running on win and linux. (lazarus svn fpc

Re: [Lazarus] LCL improvement idea

2011-01-18 Thread michael . vancanneyt
On Tue, 18 Jan 2011, Mattias Gaertner wrote: On Tue, 18 Jan 2011 14:02:12 +0100 (CET) michael.vancann...@wisa.be wrote: [...] My system will be significantly faster, and is easily controllable on a per-component basis. and does not interfere at design time, which avoids all kinds of

Re: [Lazarus] LCL improvement idea

2011-01-18 Thread michael . vancanneyt
On Tue, 18 Jan 2011, Max Vlasov wrote: On Tue, Jan 18, 2011 at 4:02 PM, michael.vancann...@wisa.be wrote: On Tue, 18 Jan 2011, Max Vlasov wrote: On Tue, Jan 18, 2011 at 2:11 PM, michael.vancann...@wisa.be wrote: Hmm, Michael, I understand you here, but I think that the main

Re: [Lazarus] LCL improvement idea

2011-01-18 Thread Mattias Gaertner
On Tue, 18 Jan 2011 15:46:20 +0100 (CET) michael.vancann...@wisa.be wrote: On Tue, 18 Jan 2011, Mattias Gaertner wrote: On Tue, 18 Jan 2011 14:02:12 +0100 (CET) michael.vancann...@wisa.be wrote: [...] My system will be significantly faster, and is easily controllable on a

Re: [Lazarus] LCL improvement idea

2011-01-18 Thread michael . vancanneyt
On Tue, 18 Jan 2011, Mattias Gaertner wrote: On Tue, 18 Jan 2011 15:46:20 +0100 (CET) michael.vancann...@wisa.be wrote: On Tue, 18 Jan 2011, Mattias Gaertner wrote: On Tue, 18 Jan 2011 14:02:12 +0100 (CET) michael.vancann...@wisa.be wrote: [...] My system will be significantly faster,

Re: [Lazarus] anchors on centos

2011-01-18 Thread Andrea Mauri
Il 18/01/2011 15:43, Mattias Gaertner ha scritto: Maybe you have a library mismatch. Can you try to build on the target machine? What do you mean? What I have to build? Lazarus? The libraries? I installed fpc 2.4.2 from rpm then downlaoded lazarus from svn and make clean all after that I get

Re: [Lazarus] LCL improvement idea

2011-01-18 Thread Mattias Gaertner
On Tue, 18 Jan 2011 16:08:07 +0100 (CET) michael.vancann...@wisa.be wrote: On Tue, 18 Jan 2011, Mattias Gaertner wrote: On Tue, 18 Jan 2011 15:46:20 +0100 (CET) michael.vancann...@wisa.be wrote: On Tue, 18 Jan 2011, Mattias Gaertner wrote: On Tue, 18 Jan 2011 14:02:12 +0100

Re: [Lazarus] anchors on centos

2011-01-18 Thread Mattias Gaertner
On Tue, 18 Jan 2011 16:15:42 +0100 Andrea Mauri andrea.mauri...@gmail.com wrote: Il 18/01/2011 15:43, Mattias Gaertner ha scritto: Maybe you have a library mismatch. Can you try to build on the target machine? What do you mean? What I have to build? Lazarus? The libraries? I installed

Re: [Lazarus] anchors on centos

2011-01-18 Thread Mattias Gaertner
On Tue, 18 Jan 2011 16:20:44 +0100 Andrea Mauri andrea.mauri...@gmail.com wrote: Il 18/01/2011 15:43, Mattias Gaertner ha scritto: Please compile lazarus clean with -ghtl -Cirot. how? how can I set that options? In the configure build lazarus dialog or at the command line with make

Re: [Lazarus] LCL improvement idea

2011-01-18 Thread Hans-Peter Diettrich
michael.vancann...@wisa.be schrieb: The whole point is to avoid having to do the same task all over again. Remember, a typical app of mine has more than 1000 forms. In this special case I'd suggest a set of company-specific basic controls and forms, that can not be broken by some other LCL

Re: [Lazarus] anchors on centos

2011-01-18 Thread zeljko
On Tuesday 18 of January 2011 16:31:32 Mattias Gaertner wrote: On Tue, 18 Jan 2011 16:15:42 +0100 Andrea Mauri andrea.mauri...@gmail.com wrote: Il 18/01/2011 15:43, Mattias Gaertner ha scritto: Maybe you have a library mismatch. Can you try to build on the target machine? What do

[Lazarus] Help with forgotten SVN authorization

2011-01-18 Thread Hans-Peter Diettrich
Today I wanted to commit an update to my dockmanager example, and noticed that I forgot to move my access data (password...) to my new system :-( Who can help me? TIA DoDi -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] anchors on centos

2011-01-18 Thread Andrea Mauri
Il 18/01/2011 16:34, Mattias Gaertner ha scritto: In the configure build lazarus dialog or at the command line with make clean OPT='-ghtl -Cirot'. I did it. Additional info, the previous bt was obtained running gdb lazarus under Konsole. I obtained in Konsole the same messages as before after

Re: [Lazarus] anchors on centos

2011-01-18 Thread Andrea Mauri
Il 18/01/2011 16:39, zeljko ha scritto: Let him open an issue WITH EXAMPLE and I'll take a look into. I am backtracing lazarus. Which kind of example do you need? I have a big app that crashes on CentOS but running fine on Ubuntu and Fedora. Actually I am not able to debug my app under

Re: [Lazarus] [fpc-pascal] Ruby-scripting for FPC and Lazarus

2011-01-18 Thread Ivan Shikhalev
2011/1/18 michael.vancann...@wisa.be: I get an error: fsb: git pull https://github.com/shikhalev/ppruby fatal: https://github.com/shikhalev/ppruby/info/refs not found: did you run git update-server-info on the server? fsb: git pull http://github.com/shikhalev/ppruby fatal:

Re: [Lazarus] anchors on centos

2011-01-18 Thread Andrea Mauri
Il 18/01/2011 17:09, zeljko ha scritto: ahhaa...so your form have some special settings ... can you rebuild your app for gdb and start it under gdb in centos and then send bt ?. here the bt I obtained running gdb lazarus then loading my project, the following bt is not the whole bt because is

Re: [Lazarus] anchors on centos

2011-01-18 Thread Andrea Mauri
Il 18/01/2011 17:09, zeljko ha scritto: 1.CentOS version (is it updated to latest pkgs or not) 2.Gtk2 version 3.Glibc version Centos 5.5 updated with last pkgs (I run under ubuntu using virtualbox) Gtk2-2.10.4-21 Glibc 2.5-49 -- ___ Lazarus mailing

Re: [Lazarus] LCL improvement idea

2011-01-18 Thread Max Vlasov
On Tue, Jan 18, 2011 at 5:53 PM, michael.vancann...@wisa.be wrote: Well, one system doesn't exclude the other. I will implement the event as well. If the event is not set, then the speed will remain as it is now. Ok, sounds great ) Question is, where to call the event ? - In the

Re: [Lazarus] LCL improvement idea

2011-01-18 Thread michael . vancanneyt
On Tue, 18 Jan 2011, Max Vlasov wrote: On Tue, Jan 18, 2011 at 5:53 PM, michael.vancann...@wisa.be wrote: Well, one system doesn't exclude the other. I will implement the event as well. If the event is not set, then the speed will remain as it is now. Ok, sounds great ) Question

Re: [Lazarus] anchors on centos

2011-01-18 Thread Andrea Mauri
Il 18/01/2011 17:09, zeljko ha scritto: ahhaa...so your form have some special settings ... can you rebuild your app for gdb and start it under gdb in centos and then send bt ?. this is a first bt for my app. The app runs properly but when I try to show the form that crashes lazarus I get (and

Re: [Lazarus] anchors on centos

2011-01-18 Thread Andrea Mauri
Il 18/01/2011 17:09, zeljko ha scritto: ahhaa...so your form have some special settings ... can you rebuild your app for gdb and start it under gdb in centos and then send bt ?. This is another bt (but with no stack). The user that raise the problem for our app has no problem with this form

Re: [Lazarus] LCL improvement idea

2011-01-18 Thread Luiz Americo Pereira Camara
michael.vancann...@wisa.be escreveu: My system will be significantly faster, and is easily controllable on a per-component basis. It will be pluggable and optional, so does not alter the executable size of who does not use it? Luiz -- ___

Re: [Lazarus] Do data modules have GTK dependencies on Linux

2011-01-18 Thread ik
2011/1/18 Frank Church vfcli...@gmail.com I have converted a program that uses data modules to Linux and I am sure tthey don't use any graphics widgets, but I keep getting 'error while loading shared libraries: libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or

Re: [Lazarus] Do data modules have GTK dependencies on Linux

2011-01-18 Thread Mattias Gaertner
On Tue, 18 Jan 2011 20:27:12 + Frank Church vfcli...@gmail.com wrote: I have converted a program that uses data modules to Linux and I am sure tthey don't use any graphics widgets, but I keep getting 'error while loading shared libraries: libgdk_pixbuf-2.0.so.0: cannot open shared object

Re: [Lazarus] Do data modules have GTK dependencies on Linux

2011-01-18 Thread Frank Church
2011/1/18 ik ido...@gmail.com 2011/1/18 Frank Church vfcli...@gmail.com I have converted a program that uses data modules to Linux and I am sure tthey don't use any graphics widgets, but I keep getting 'error while loading shared libraries: libgdk_pixbuf-2.0.so.0: cannot open shared object

[Lazarus] Lazarus fails to start with TWinControl.CreateWnd: The nogui widgetset does not support visual controls.

2011-01-18 Thread Frank Church
I rebuilt the IDE with NoGUI option, and after closing and restart Lazarus it fails to open with the above message TWinControl.CreateWnd: The nogui widgetset does not support visual controls, followed by a few others. Is there some way to get to revert to the original GTK2 with some command line

Re: [Lazarus] Lazarus fails to start with TWinControl.CreateWnd: The nogui widgetset does not support visual controls.

2011-01-18 Thread Vincent Snijders
2011/1/18 Frank Church vfcli...@gmail.com: I rebuilt the IDE with NoGUI option, and after closing and restart Lazarus it fails to open with the above message TWinControl.CreateWnd: The nogui widgetset does not support visual controls, followed by a few others. Is there some way to get to

Re: [Lazarus] Do data modules have GTK dependencies on Linux

2011-01-18 Thread Mattias Gaertner
On Tue, 18 Jan 2011 20:47:54 + Frank Church vfcli...@gmail.com wrote: 2011/1/18 ik ido...@gmail.com 2011/1/18 Frank Church vfcli...@gmail.com I have converted a program that uses data modules to Linux and I am sure tthey don't use any graphics widgets, but I keep getting 'error

Re: [Lazarus] Lazarus fails to start with TWinControl.CreateWnd: The nogui widgetset does not support visual controls.

2011-01-18 Thread Mattias Gaertner
On Tue, 18 Jan 2011 21:06:48 + Frank Church vfcli...@gmail.com wrote: I rebuilt the IDE with NoGUI option, and after closing and restart Lazarus it fails to open with the above message TWinControl.CreateWnd: The nogui widgetset does not support visual controls, followed by a few others.

[Lazarus] from hfiandor about Tdbf 18 jan 2011

2011-01-18 Thread hector fiandor
Dear members: i am doing an app. using TDBF, but i have found a problem: i am trying to introduce a float value, using a DBEdit (first i introduce in an edit and then pass to DBEdit) i have declared the field as ftFloat, but when i try to Post, a message said that it is not an integer. i

Re: [Lazarus] Accessing MS SQLServer database from Lazarus/FPC?

2011-01-18 Thread Bo Berglund
On Sat, 15 Jan 2011 10:34:25 +0100, Bo Berglund bo.bergl...@gmail.com wrote: On Sat, 15 Jan 2011 09:42:01 +0100, Bo Berglund bo.bergl...@gmail.com wrote: Is there an alterate connection mechanism that can be used towards MSSQLServer which works also on Linux so the applications can be made

Re: [Lazarus] Lazarus fails to start with TWinControl.CreateWnd: The nogui widgetset does not support visual controls.

2011-01-18 Thread Frank Church
On 18 January 2011 21:24, Mattias Gaertner nc-gaert...@netcologne.dewrote: On Tue, 18 Jan 2011 21:06:48 + Frank Church vfcli...@gmail.com wrote: I rebuilt the IDE with NoGUI option, and after closing and restart Lazarus it fails to open with the above message TWinControl.CreateWnd:

Re: [Lazarus] Accessing MS SQLServer database from Lazarus/FPC?

2011-01-18 Thread Henry Vermaak
On 18 January 2011 21:31, Bo Berglund bo.bergl...@gmail.com wrote: On Sat, 15 Jan 2011 10:34:25 +0100, Bo Berglund bo.bergl...@gmail.com wrote: On Sat, 15 Jan 2011 09:42:01 +0100, Bo Berglund bo.bergl...@gmail.com wrote: Is there an alterate connection mechanism that can be used towards

Re: [Lazarus] Accessing MS SQLServer database from Lazarus/FPC?

2011-01-18 Thread Bo Berglund
On Tue, 18 Jan 2011 21:36:59 +, Henry Vermaak henry.verm...@gmail.com wrote: Here is stated the following: The SQLdb package contains FPC units to access a number of SQL databases. It is packaged as sqldblaz.lpk in Lazarus, and the components can be found on the SQLdb tab. But in my

Re: [Lazarus] Lazarus fails to start with TWinControl.CreateWnd: The nogui widgetset does not support visual controls.

2011-01-18 Thread Mattias Gaertner
On Tue, 18 Jan 2011 21:32:16 + Frank Church vfcli...@gmail.com wrote: On 18 January 2011 21:24, Mattias Gaertner nc-gaert...@netcologne.dewrote: On Tue, 18 Jan 2011 21:06:48 + Frank Church vfcli...@gmail.com wrote: I rebuilt the IDE with NoGUI option, and after closing and

Re: [Lazarus] Lazarus fails to start with TWinControl.CreateWnd: The nogui widgetset does not support visual controls.

2011-01-18 Thread Vincent Snijders
2011/1/19 Mattias Gaertner nc-gaert...@netcologne.de: Are there some steps the additional steps required in the Build All that I may have missed? You have to choose the nogui widgetset in the project's compiler options and of course you must not use any unit that uses the gtk. Build all

[Lazarus] Where is a list of valid options for lazarus make?

2011-01-18 Thread Bo Berglund
In a recent post reply I was adviced to make bigide in order to include the SQLdb components on lazarus. But I have no idea how the bigide is used so I have tried to find out but all I can google are other people basically wondering the same thing. The Wiki page: