Re: [Lazarus] pascal component stream

2011-01-17 Thread michael . vancanneyt
On Mon, 17 Jan 2011, Graeme Geldenhuys wrote: Op 2011-01-17 00:45, Mattias Gaertner het geskryf: 4. what to do with DefineProperties? What is that? What is it used for? I could find any help on that. Point 4 is the real problem. How to store TStrings.Data or TBitmap.Data? I had a look

Re: [Lazarus] fpGUI

2011-01-17 Thread Sven Barth
Am 17.01.2011 07:43, schrieb Graeme Geldenhuys: Op 2011-01-17 04:50, Hans-Peter Diettrich het geskryf: In fpGUI there is no new AutoSize and also there is no FormCreate, because in fpGUI the convention is to create controls in AfterCreate which is a virtual method and not an event. So fpGUI

Re: [Lazarus] fpGUI

2011-01-17 Thread Graeme Geldenhuys
Op 2011-01-17 09:33, Martin Schreiber het geskryf: Graeme, - please, no offending meant - None taken. fpGUI has implemented at the moment probably less than 50% of a good RAD development environment like Lazarus, Delphi or MSEide+MSEgui. RAD is overrated (marketing speak) and only good for

Re: [Lazarus] fpGUI

2011-01-17 Thread Michael Schnell
On 01/16/2011 01:21 AM, Marcos Douglas wrote: Is it more easy code with .lfm files? I suppose when a huge lot of controls are to be created in a large application, storing streams of control codes and handling them by a single central interpreter would result in smaller files and memory

Re: [Lazarus] fpGUI

2011-01-17 Thread Michael Schnell
On 01/16/2011 11:16 AM, Michael Van Canneyt wrote: There are others: * VB * XUL * Windows itself. (prior to .Net) HTML :) -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] fpGUI

2011-01-17 Thread Michael Schnell
On 01/16/2011 02:34 PM, Sven Barth wrote: switching slowly from Delphi to .NET :( ) Delphi and .NET is not a contradiction. .Net does not force and programming language. There are lots of .NET (and/or Mono, Silverlight, Moonlight, etc) enabled languages / IDEs.Delphi Prism being one of them.

Re: [Lazarus] fpGUI

2011-01-17 Thread Sven Barth
Am 17.01.2011 10:05, schrieb Michael Schnell: On 01/16/2011 02:34 PM, Sven Barth wrote: switching slowly from Delphi to .NET :( ) Delphi and .NET is not a contradiction. .Net does not force and programming language. There are lots of .NET (and/or Mono, Silverlight, Moonlight, etc) enabled

Re: [Lazarus] fpGUI

2011-01-17 Thread Michael Schnell
On 01/16/2011 02:37 PM, Graeme Geldenhuys wrote: The fpGUI UI Designer *only* parses and edits the code between the comment markers. That's those comments that start with {@VFD_xxx} So it looks like a very small step on top ff this to (optionally) move the Delphi code interpreting these into

Re: [Lazarus] fpGUI for the LCL on x86 Linux, and standalone on SPARC Solaris 10

2011-01-17 Thread Michael Schnell
On 01/15/2011 10:18 PM, Graeme Geldenhuys wrote: How stable is ReactOS these days? Last time I use it, was over a year ago, and then not all Windows apps functioned correctly either. I d/lded and tried the ReacOS life CD some months ago. It did not start on any of the PCs I tried to boot it

Re: [Lazarus] fpGUI

2011-01-17 Thread Sven Barth
Am 17.01.2011 10:18, schrieb michael.vancann...@wisa.be: On Mon, 17 Jan 2011, Graeme Geldenhuys wrote: Op 2011-01-17 09:33, Martin Schreiber het geskryf: Graeme, - please, no offending meant - None taken. fpGUI has implemented at the moment probably less than 50% of a good RAD

Re: [Lazarus] fpGUI

2011-01-17 Thread Mattias Gaertner
On Mon, 17 Jan 2011 04:13:46 +0100 Hans-Peter Diettrich drdiettri...@aol.com wrote: Mattias Gaertner schrieb: On Sun, 16 Jan 2011 17:18:57 +0100 Hans-Peter Diettrich drdiettri...@aol.com wrote: Graeme Geldenhuys schrieb: Lets say the Form unit is called frm_main.pas, it will have a

Re: [Lazarus] fpGUI

2011-01-17 Thread Michael Schnell
On 01/17/2011 08:33 AM, Martin Schreiber wrote: the bigest difficulties are in the step from 90% to 100% AKA version 0.9x to version 1.0 ;-) -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] fpGUI

2011-01-17 Thread Michael Schnell
On 01/17/2011 10:13 AM, Sven Barth wrote: switching slowly from Delphi to C# I already saw such projects fail ;-) . -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] fpGUI

2011-01-17 Thread Michael Schnell
On 01/16/2011 02:37 PM, Graeme Geldenhuys wrote: Maybe some code example will help reduce confusion with what fpGUI's UI Designer does. I found that fpGUI _can_ be used with the Lazarus GUI designer. How does this work related to your explanation here. Seemingly fpGUI already does include the

Re: [Lazarus] pascal component stream

2011-01-17 Thread Mattias Gaertner
On Mon, 17 Jan 2011 09:28:31 +0100 (CET) michael.vancann...@wisa.be wrote: On Mon, 17 Jan 2011, Graeme Geldenhuys wrote: Op 2011-01-17 00:45, Mattias Gaertner het geskryf: 4. what to do with DefineProperties? What is that? What is it used for? I could find any help on that.

Re: [Lazarus] fpGUI

2011-01-17 Thread Andreas Schneider
On Mon, 17 Jan 2011 10:35:03 +0100, Michael Schnell wrote: On 01/16/2011 02:37 PM, Graeme Geldenhuys wrote: Maybe some code example will help reduce confusion with what fpGUI's UI Designer does. I found that fpGUI _can_ be used with the Lazarus GUI designer. How does this work related to your

Re: [Lazarus] fpGUI

2011-01-17 Thread Mattias Gaertner
On Mon, 17 Jan 2011 09:59:56 +0100 Michael Schnell mschn...@lumino.de wrote: On 01/16/2011 01:21 AM, Marcos Douglas wrote: Is it more easy code with .lfm files? I suppose when a huge lot of controls are to be created in a large application, storing streams of control codes and handling

Re: [Lazarus] fpGUI

2011-01-17 Thread Michael Schnell
On 01/17/2011 10:42 AM, Andreas Schneider wrote: You still/again confuse or mix up fpGUI and LCL-fpGUI. I just try to learn more about the differences and this is why I) asked this question. As the same fpGUI name is used I suppose that at least _some_ code is shared. The last one is still

Re: [Lazarus] fpGUI

2011-01-17 Thread Martin Schreiber
On Monday, 17. January 2011 10.18:02 michael.vancann...@wisa.be wrote: It takes good care of the boilerplate work for you, and leaves you to concentrate on the actual business logic. Exactly. And for often used tasks there can be made components or component families which integrate into the

Re: [Lazarus] fpGUI

2011-01-17 Thread Sven Barth
Am 17.01.2011 10:31, schrieb Michael Schnell: On 01/17/2011 10:13 AM, Sven Barth wrote: switching slowly from Delphi to C# I already saw such projects fail ;-) . Although I'm not that a big fan of the move, I won't be pessimistic about it. :P Regards, Sven --

Re: [Lazarus] fpGUI

2011-01-17 Thread michael . vancanneyt
On Mon, 17 Jan 2011, Sven Barth wrote: Am 17.01.2011 10:18, schrieb michael.vancann...@wisa.be: On Mon, 17 Jan 2011, Graeme Geldenhuys wrote: Op 2011-01-17 09:33, Martin Schreiber het geskryf: Graeme, - please, no offending meant - None taken. fpGUI has implemented at the moment

Re: [Lazarus] fpGUI

2011-01-17 Thread Mattias Gaertner
On Mon, 17 Jan 2011 08:33:50 +0100 Martin Schreiber mse00...@gmail.com wrote: [...] There is a limitation in Delphi, it is not possible to add components to submodules. In MSEide I was able to overcome that limitation with some hacks. It also works in Lazarus, but is disabled, because of

Re: [Lazarus] fpGUI

2011-01-17 Thread Michael Schnell
On 01/16/2011 10:19 AM, Graeme Geldenhuys wrote: Huh? The code describing the UI is just that UI code. My businsess objects and businesses rules are not located in Form units either. One of Borlands bad design ideas with RAD - as far as I'm concerned. +1 There should be an automated way to

Re: [Lazarus] fpGUI

2011-01-17 Thread michael . vancanneyt
On Mon, 17 Jan 2011, Martin Schreiber wrote: On Monday, 17. January 2011 10.18:02 michael.vancann...@wisa.be wrote: It takes good care of the boilerplate work for you, and leaves you to concentrate on the actual business logic. Exactly. And for often used tasks there can be made

Re: [Lazarus] fpGUI

2011-01-17 Thread Sven Barth
Am 17.01.2011 10:57, schrieb Michael Schnell: On 01/17/2011 10:42 AM, Andreas Schneider wrote: You still/again confuse or mix up fpGUI and LCL-fpGUI. I just try to learn more about the differences and this is why I) asked this question. As the same fpGUI name is used I suppose that at least

Re: [Lazarus] fpGUI for the LCL on x86 Linux, and standalone on SPARC Solaris 10

2011-01-17 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 01/15/2011 10:18 PM, Graeme Geldenhuys wrote: How stable is ReactOS these days? Last time I use it, was over a year ago, and then not all Windows apps functioned correctly either. I d/lded and tried the ReacOS life CD some months ago. It did not start on any of the

Re: [Lazarus] fpGUI

2011-01-17 Thread michael . vancanneyt
On Mon, 17 Jan 2011, Michael Schnell wrote: On 01/16/2011 10:19 AM, Graeme Geldenhuys wrote: Huh? The code describing the UI is just that UI code. My businsess objects and businesses rules are not located in Form units either. One of Borlands bad design ideas with RAD - as far as I'm

Re: [Lazarus] fpGUI

2011-01-17 Thread Mattias Gaertner
On Mon, 17 Jan 2011 11:03:00 +0100 (CET) michael.vancann...@wisa.be wrote: [...] I have an application with 1500 forms. Every time you mention this application the number of forms grows by hundreds. I wonder, do you add one form per day? Are these normal forms, each with a whole unit of code?

Re: [Lazarus] fpGUI

2011-01-17 Thread Andreas Schneider
On Mon, 17 Jan 2011 10:57:57 +0100, Michael Schnell wrote: Obviously. My interpretation is that the two GUI designers, that of course manage different types of control files and use different ways to include the GUI design information in the runtime executable, in the end use the same backend to

Re: [Lazarus] fpGUI

2011-01-17 Thread Sven Barth
Am 17.01.2011 11:03, schrieb michael.vancann...@wisa.be: On Mon, 17 Jan 2011, Sven Barth wrote: Am 17.01.2011 10:18, schrieb michael.vancann...@wisa.be: On Mon, 17 Jan 2011, Graeme Geldenhuys wrote: Op 2011-01-17 09:33, Martin Schreiber het geskryf: Graeme, - please, no offending meant

Re: [Lazarus] pascal component stream

2011-01-17 Thread Max Vlasov
On Mon, Jan 17, 2011 at 1:45 AM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Hi, Point 4 is the real problem. How to store TStrings.Data or TBitmap.Data? When the topic appears some time ago, I experimented creating procedure converting dfm text form into delphi code. Point 4 was a

Re: [Lazarus] fpGUI

2011-01-17 Thread Michael Schnell
On 01/16/2011 10:34 PM, Graeme Geldenhuys wrote: Even Lazarus's form designer chokes on differing dpi values. What is the dpi value useful for ? If you want to deal with screen dpi, you also need to know the physical monitor size and the eye-screen distance to do any useful calculations on

Re: [Lazarus] fpGUI

2011-01-17 Thread michael . vancanneyt
On Mon, 17 Jan 2011, Mattias Gaertner wrote: On Mon, 17 Jan 2011 11:03:00 +0100 (CET) michael.vancann...@wisa.be wrote: [...] I have an application with 1500 forms. Every time you mention this application the number of forms grows by hundreds. I wonder, do you add one form per day? It

Re: [Lazarus] fpGUI

2011-01-17 Thread Michael Schnell
On 01/10/2011 07:27 PM, Andreas Schneider wrote: On Mon, 10 Jan 2011 13:26:03 +0100, Michael Schnell wrote: On 01/10/2011 12:56 PM, Sven Barth wrote: This approach is only needed if you want to design pure fpGUI applications (and don't want to use the external designer provided by fpGUI).

Re: [Lazarus] pascal component stream

2011-01-17 Thread Mattias Gaertner
On Mon, 17 Jan 2011 13:18:06 +0300 Max Vlasov max.vla...@gmail.com wrote: On Mon, Jan 17, 2011 at 1:45 AM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Hi, Point 4 is the real problem. How to store TStrings.Data or TBitmap.Data? When the topic appears some time ago, I

Re: [Lazarus] fpGUI

2011-01-17 Thread Michael Schnell
On 01/17/2011 11:05 AM, Sven Barth wrote: Let me explain this a bit differently. When using fpGUI as a LCL widgetset the flow is like this: ... Thanks. That exactly matches what I hoped I had learned in the last few days. -Michael -- ___ Lazarus

Re: [Lazarus] fpGUI

2011-01-17 Thread Graeme Geldenhuys
Op 2011-01-17 12:03, michael.vancann...@wisa.be het geskryf: I have an application with 1500 forms. It would be madness to have to set over and over again the same set of properties and event handlers to save/restore formlayout, ask to save unsaved data, sort grids and whatnot. So [...snip...]

Re: [Lazarus] fpGUI

2011-01-17 Thread Michael Schnell
On 01/17/2011 11:15 AM, Andreas Schneider wrote: Eventually the LCL only uses widgetsets as a means to an end. Yep. The Lazarus GUI designer (based on the set of GUI controls (might be called Lazarus internal widget set) the LCL provides) only allows to design according to the material

Re: [Lazarus] fpGUI

2011-01-17 Thread michael . vancanneyt
On Mon, 17 Jan 2011, Graeme Geldenhuys wrote: Hence RAD and point-and-click. Which could result in one form's Grid not quite behaving like the other form's grid in the same application - because the developer forgot to set all the right properties for the 100th time. Exactly not. That's

Re: [Lazarus] fpGUI

2011-01-17 Thread José Mejuto
Hello Lazarus-List, Monday, January 17, 2011, 11:28:25 AM, you wrote: What are you talking about? MS In fact I don't yet fully understand the two different incarnations of MS fpGUI. (Seeming one supported by the Lazarus GUI designer, one coming MS with it's own GUI designer) but I'm learning.

[Lazarus] LCL improvement idea

2011-01-17 Thread Michael Van Canneyt
Hi, Following the RAD discussion, I thought of something. Often, I subclass a control just to set some properties to other than their default values. (TLabel.AutoSize and TLabel.layout jump to mind). This can in fact be avoided by having some kind of 'Application-Wide defaults' system. I

[Lazarus] lazarus app on centos 5.5

2011-01-17 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. If I run my app on fedora or ubuntu lanching my app from the shell I get only this message: NOTE: TGtk2WidgetSet.InvalidateRect during paint message: TStringGrid

Re: [Lazarus] fpGUI

2011-01-17 Thread Marcos Douglas
On Mon, Jan 17, 2011 at 7:03 AM, michael.vancann...@wisa.be wrote: [snip] I have an application with 1500 forms. It would be madness to have to set over and over again the same set of properties and event handlers to save/restore formlayout, ask to save unsaved data, sort grids and whatnot.

Re: [Lazarus] fpGUI

2011-01-17 Thread Graeme Geldenhuys
Op 2011-01-17 12:58, michael.vancann...@wisa.be het geskryf: RAD works, if done right. Fair enough. That then tells me that 99% of the developers using Delphi (and probably Lazarus) are doing it wrong - your team being in that 1% exception. I'm basing this on my work experience in multiple

Re: [Lazarus] fpGUI for the LCL on x86 Linux, and standalone on SPARC Solaris 10

2011-01-17 Thread Paul Breneman
Michael Schnell wrote: On 01/15/2011 10:18 PM, Graeme Geldenhuys wrote: How stable is ReactOS these days? Last time I use it, was over a year ago, and then not all Windows apps functioned correctly either. I d/lded and tried the ReacOS life CD some months ago. It did not start on any of the

Re: [Lazarus] fpGUI

2011-01-17 Thread Graeme Geldenhuys
Op 2011-01-17 13:08, José Mejuto het geskryf: You (english) - Translator (English/Spanish) - Other (Spanish) Or in Lazarus fpGUI terms: LCL (LCL) - LCLfpGUI (LCL/fpGUI) - fpGUI (fpGUI) Excellent explanation, you should add this to the wiki. :) And here are the various layers in a

Re: [Lazarus] fpGUI

2011-01-17 Thread michael . vancanneyt
On Mon, 17 Jan 2011, Marcos Douglas wrote: On Mon, Jan 17, 2011 at 7:03 AM, michael.vancann...@wisa.be wrote: [snip] I have an application with 1500 forms. It would be madness to have to set over and over again the same set of properties and event handlers to save/restore formlayout, ask

Re: [Lazarus] LCL improvement idea

2011-01-17 Thread Graeme Geldenhuys
Op 2011-01-17 13:08, Michael Van Canneyt het geskryf: This can in fact be avoided by having some kind of 'Application-Wide defaults' system. Wouldn't Delphi's Component Template idea solve this too? As far as I can see Lazarus doesn't support the Component Template idea though. eg: In Delphi

Re: [Lazarus] fpGUI

2011-01-17 Thread michael . vancanneyt
On Mon, 17 Jan 2011, Graeme Geldenhuys wrote: Op 2011-01-17 12:58, michael.vancann...@wisa.be het geskryf: RAD works, if done right. Fair enough. That then tells me that 99% of the developers using Delphi (and probably Lazarus) are doing it wrong - your team being in that 1% exception.

Re: [Lazarus] LCL improvement idea

2011-01-17 Thread michael . vancanneyt
On Mon, 17 Jan 2011, Graeme Geldenhuys wrote: Op 2011-01-17 13:08, Michael Van Canneyt het geskryf: This can in fact be avoided by having some kind of 'Application-Wide defaults' system. Wouldn't Delphi's Component Template idea solve this too? As far as I can see Lazarus doesn't support

Re: [Lazarus] fpGUI

2011-01-17 Thread Lukasz Sokol
On 17/01/2011 10:22, Michael Schnell wrote: On 01/16/2011 10:34 PM, Graeme Geldenhuys wrote: Even Lazarus's form designer chokes on differing dpi values. What is the dpi value useful for ? If you want to deal with screen dpi, you also need to know the physical monitor size and the eye-screen

Re: [Lazarus] fpGUI

2011-01-17 Thread Hans-Peter Diettrich
Michael Schnell schrieb: On 01/16/2011 02:34 PM, Sven Barth wrote: switching slowly from Delphi to .NET :( ) Delphi and .NET is not a contradiction. .Net does not force and programming language. There are lots of .NET (and/or Mono, Silverlight, Moonlight, etc) enabled languages / IDEs.Delphi

Re: [Lazarus] fpGUI

2011-01-17 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: I suppose when a huge lot of controls are to be created in a large application, storing streams of control codes and handling them by a single central interpreter would result in smaller files and memory footprint than controls each having its own creation code

Re: [Lazarus] LCL improvement idea

2011-01-17 Thread Hans-Peter Diettrich
Michael Van Canneyt schrieb: Following the RAD discussion, I thought of something. Often, I subclass a control just to set some properties to other than their default values. (TLabel.AutoSize and TLabel.layout jump to mind). This can in fact be avoided by having some kind of 'Application-Wide

Re: [Lazarus] fpGUI

2011-01-17 Thread Hans-Peter Diettrich
Michael Schnell schrieb: On 01/16/2011 10:34 PM, Graeme Geldenhuys wrote: Even Lazarus's form designer chokes on differing dpi values. What is the dpi value useful for ? If you want to deal with screen dpi, you also need to know the physical monitor size and the eye-screen distance to do any

Re: [Lazarus] LCL improvement idea

2011-01-17 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: In Delphi 7: 1) Place components as you want them on a designer form. 2) Set there properties as you want. 3) Select all those components then select Components Create component template 4) Give it a name and icon. Done! Sound much like constructing an

Re: [Lazarus] fpGUI

2011-01-17 Thread Marcos Douglas
2011/1/17 michael.vancann...@wisa.be: I don't have to. But 80% of the functionality returns. This 80% is taken care of. The rest is business logic. Business logic in the Form class? Totally wrong approach. You create a form Save() method, NOT virtual, and add a OnSave event. That is the

Re: [Lazarus] fpGUI for the LCL on x86 Linux, and standalone on SPARC Solaris 10

2011-01-17 Thread Paul Breneman
Sven Barth wrote: On 16.01.2011 14:58, Sven Barth wrote: On 16.01.2011 05:11, Paul Breneman wrote: On the ReactOS forums there have been a few discussions (long ago) of being able to strip away the GUI. I think that would be a great option but it seems the developers are trying to duplicate NT

Re: [Lazarus] pascal component stream

2011-01-17 Thread Max Vlasov
On Mon, Jan 17, 2011 at 1:38 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Mon, 17 Jan 2011 13:18:06 +0300 Max Vlasov max.vla...@gmail.com wrote: For TStrings it was just assuming if token is '(' then it's TStrings (possible not always true, but there are so many TStrings

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

2011-01-17 Thread ik
Try to use FHTTPSend.Document Please note that it's a stream. Ido LINESIP - Opening the source for communication http://www.linesip.com http://www.linesip.co.il 2011/1/17 silvioprog silviop...@gmail.com Hi folks, I'm tryng to download byte by byte from a binary in a HTTP host, but

Re: [Lazarus] Lazarus editor font height very small...

2011-01-17 Thread Bo Berglund
On Fri, 14 Jan 2011 18:02:44 +0100, Bo Berglund bo.bergl...@gmail.com wrote: I installed Lazarus on my WinXP virtual machine from the fixes_30 branch a couple of weeks ago, but have not used it yet (Xmas and all). Now I just started and found that I needed to set the editor up for my usual look.

Re: [Lazarus] fpGUI

2011-01-17 Thread Reimar Grabowski
On Sun, 16 Jan 2011 13:31:04 +0100 Sven Barth pascaldra...@googlemail.com wrote: Ehm... in Windows Presentation Foundation (WPF) for .NET you use XML files... and that is the current standard for Windows .NET applications. Android uses xml, too. R. -- A: Because it messes up the order in

Re: [Lazarus] fpGUI

2011-01-17 Thread waldo kitty
On 1/17/2011 05:28, Michael Schnell wrote: In fact I don't yet fully understand the two different incarnations of fpGUI. (Seeming one supported by the Lazarus GUI designer, one coming with it's own GUI designer) but I'm learning. IIUC, there is only one fpGUI... the LCL-fpGUI is only a wrapper

Re: [Lazarus] Lazarus editor font height very small...

2011-01-17 Thread Martin
On 17/01/2011 15:57, Bo Berglund wrote: On Fri, 14 Jan 2011 18:02:44 +0100, Bo Berglund bo.bergl...@gmail.com wrote: I installed Lazarus on my WinXP virtual machine from the fixes_30 branch a couple of weeks ago, but have not used it yet (Xmas and all). Now I just started and found that I

Re: [Lazarus] fpGUI

2011-01-17 Thread michael . vancanneyt
On Mon, 17 Jan 2011, Marcos Douglas wrote: 2011/1/17 michael.vancann...@wisa.be: I don't have to. But 80% of the functionality returns. This 80% is taken care of. The rest is business logic. Business logic in the Form class? We work 3 tier. Most important business logic is on the

Re: [Lazarus] fpGUI

2011-01-17 Thread Marcos Douglas
On Mon, Jan 17, 2011 at 1:28 PM, michael.vancann...@wisa.be wrote: We work 3 tier. Most important business logic is on the application server. Clients contain mostly presentation logic. What protocol they do use? JSON? No. The 'extra' functionality is just never used in such a case. (in

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

2011-01-17 Thread Sven Barth
Am 17.01.2011 17:39, schrieb silvioprog: Hi Ido, I tryed with Document, but without sucess. :( My second simple demo (not works) with Document in attached. PS. My binary can be TXT, EXE, XML etc. 2011/1/17 ik ido...@gmail.com mailto:ido...@gmail.com Try to use FHTTPSend.Document

Re: [Lazarus] fpGUI

2011-01-17 Thread Sven Barth
Am 17.01.2011 11:48, schrieb Graeme Geldenhuys: I learnt my lesson at a previous employer, after having to help maintain a *huge* Delphi RAD based project. See my favourite URL of that brilliant Borland RAD idea in action. http://opensoft.homeip.net:8080/~graemeg/datamodule.png Just looking

[Lazarus] Command make idepkg or similar

2011-01-17 Thread Alexsander Rosa
I'm using/testing the 9.30 branch. How could I do a svn update then a command-line make clean all that compiles the third-party packages (i.e. Zeos 6.6.6) that are installed? Right now, everytime I run a svn update I run a make clean all then open the IDE and add manually the package(s). Someone

Re: [Lazarus] Lazarus editor font height very small...

2011-01-17 Thread Graeme Geldenhuys
On Mon, 2011-01-17 at 16:26 +, Martin wrote: Also to clarify, you mean: - the current Lazarus displays a font that is set to 10, differently than the released Lazarus 0.9.28(.2) did? - or: Lazarus displays a font that is set to 10, differently than Delphi (or whatever your app of

Re: [Lazarus] Command make idepkg or similar

2011-01-17 Thread Mattias Gaertner
On Mon, 17 Jan 2011 16:09:25 -0200 Alexsander Rosa alexsander.r...@gmail.com wrote: I'm using/testing the 9.30 branch. How could I do a svn update then a command-line make clean all that compiles the third-party packages (i.e. Zeos 6.6.6) that are installed? Right now, everytime I run a svn

Re: [Lazarus] Lazarus editor font height very small...

2011-01-17 Thread Martin
On 17/01/2011 18:12, Graeme Geldenhuys wrote: On Mon, 2011-01-17 at 16:26 +, Martin wrote: Also to clarify, you mean: - the current Lazarus displays a font that is set to 10, differently than the released Lazarus 0.9.28(.2) did? - or: Lazarus displays a font that is set to 10, differently

Re: [Lazarus] fpGUI

2011-01-17 Thread Marco van de Voort
On Mon, Jan 17, 2011 at 10:58:50AM +0100, Sven Barth wrote: Am 17.01.2011 10:31, schrieb Michael Schnell: On 01/17/2011 10:13 AM, Sven Barth wrote: switching slowly from Delphi to C# I already saw such projects fail ;-) . Although I'm not that a big fan of the move, I won't be

Re: [Lazarus] Test the Lazarus fixes_0_9_30 branch

2011-01-17 Thread cobines
Hi, I would like to point out that these are regressions: http://bugs.freepascal.org/view.php?id=18243 http://bugs.freepascal.org/view.php?id=17554 -- cobines -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Lazarus editor font height very small...

2011-01-17 Thread Bo Berglund
On Mon, 17 Jan 2011 20:12:55 +0200, Graeme Geldenhuys graemeg.li...@gmail.com wrote: And yes I know in Lazarus you can specify a font height as pixels (I think it's the negative font size value or something). I never do that, I use the standard GTK font dialog to specify my font size from the

Re: [Lazarus] Lazarus editor font height very small...

2011-01-17 Thread Bo Berglund
On Mon, 17 Jan 2011 18:38:45 +, Martin laza...@mfriebe.de wrote: As for Bo Berglund's issue, I do not know if he refers to the 2nd issue above, or a 3rd issue (but since he said XP, it wouldn't be the 1st) Well, I just asked because I found it strange on my Windows XP Pro system that

Re: [Lazarus] Lazarus editor font height very small...

2011-01-17 Thread Martin
On 17/01/2011 20:02, Bo Berglund wrote: On Mon, 17 Jan 2011 20:12:55 +0200, Graeme Geldenhuys graemeg.li...@gmail.com wrote: And yes I know in Lazarus you can specify a font height as pixels (I think it's the negative font size value or something). I never do that, I use the standard GTK font

Re: [Lazarus] Lazarus editor font height very small...

2011-01-17 Thread Martin
On 17/01/2011 20:13, Bo Berglund wrote: On Mon, 17 Jan 2011 18:38:45 +, Martinlaza...@mfriebe.de wrote: As for Bo Berglund's issue, I do not know if he refers to the 2nd issue above, or a 3rd issue (but since he said XP, it wouldn't be the 1st) Well, I just asked because I found it

Re: [Lazarus] Lazarus editor font height very small...

2011-01-17 Thread Bo Berglund
On Mon, 17 Jan 2011 20:15:34 +, Martin laza...@mfriebe.de wrote: Since people ask things like which version are you using can you please tell me how I can find out if I have downloaded from SVN and specified the fixes branch of 0.9.30? I have no experience whatsoever with SVN, just

Re: [Lazarus] Lazarus editor font height very small...

2011-01-17 Thread Graeme Geldenhuys
On Mon, 2011-01-17 at 22:16 +0100, Bo Berglund wrote: In my case this is what I read from the Help/About: Version #: 0.9.29 Date: 2011-01-02 SVN rev no: 28857 You can right click inside the About dialog. The popup menu will copy all the details to the clipboard, ready to paste in a email. :)

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

2011-01-17 Thread ik
2011/1/17 silvioprog silviop...@gmail.com Hi Ido, I tryed with Document, but without sucess. :( You must rewind the Stream before copy it, because the position is at the end of the stream, so it can not copy empty data. I guess you have an exception on it. My second simple demo (not

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

2011-01-17 Thread silvioprog
Hi Sven, Always an empty line... this is a very good information. ;) Hm..., a reply from the synapse list: (...) 2011/1/17 Lukas Gebauer gebylist@... Just courious - where you are reading THttpSend.Document with readed binary datas? And why you are saving to your stream values from OnMonitor

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

2011-01-17 Thread 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 appreciated. You could use TProcess for this (found in

[Lazarus] VFI

2011-01-17 Thread Juha Manninen
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. In: File - New... - Inherited Item - Inherited Component there are the existing forms of the current project. A new inherited form

[Lazarus] Commit frequency

2011-01-17 Thread Andrew Haines
I just want to say that everytime I update I'm impressed by the amount of commits that have happened since my last update, sometimes even just the previous day. Great job guys! Andrew Haines -- ___ Lazarus mailing list

Re: [Lazarus] VFI

2011-01-17 Thread Mattias Gaertner
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. In: File - New... - Inherited Item -

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

2011-01-17 Thread silvioprog
Not works, Document property always is empty in OnMonitor event. x( Hm..., I think isn't possible resume download with Synapse, I tryed all but without sucess. 2011/1/17 ik ido...@gmail.com You must rewind the Stream before copy it, because the position is at the end of the stream, so it can

Re: [Lazarus] LCL improvement idea

2011-01-17 Thread Max Vlasov
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 created. I liked the idea, but to