Re: [Lazarus] PageControl vs NoteBook vs TabControl

2010-03-05 Thread Andreas Schneider
Am Freitag 05 März 2010 22:20:51 schrieb Graeme Geldenhuys: Wouldn't it be better to simply have one tab-type component? All efforts placed on only improving one component? Here's a problem: TNotebook is _not_ a tab-type component (well, actually it shouldn't be a tab-type component). The

Re: [Lazarus] Is Lazarus project in a downward spiral?

2010-03-07 Thread Andreas Schneider
Am Sonntag 07 März 2010 12:30:16 schrieb Hans-Peter Diettrich: Florian Klaempfl schrieb: Why should I waste time and change to a different program while I could do this in the file open/save dialog? Then the file dialogs must use the platform specific file managers. On Windows, the

Re: [Lazarus] Is Lazarus project in a downward spiral?

2010-03-07 Thread Andreas Schneider
Am Montag 08 März 2010 01:58:22 schrieb Doug Chamberlin: [] A couple of further specific comments: I see a bunch of bugs reported and developers posting that those are fixed. But unless I wade in and install SVN and figure out how to use it to update my local source and figure out how

Re: [Lazarus] unit Dialogs and showmessage

2010-03-31 Thread Andreas Schneider
Am Mittwoch 31 März 2010 19:06:29 schrieb Bernd: http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/showmessage.html Source position: dialogs.pp line 510 procedure ShowMessage( const aMsg: String ); there is also an example program: Program LazMessage; Uses Dialogs; begin

Re: [Lazarus] Petition to Skype

2011-12-06 Thread Andreas Schneider
On Tuesday, December 6, 2011, at 10:04 Bernd wrote: 2011/12/5 Krzysztof dib...@wp.pl: SkypeKit has support only for C++, Python and Java and doesn't have for multiplatform Free Pascal :( Theoretically the skype developers should be aware of the existence of Lazarus/FPC. As far as I know

Re: [Lazarus] Petition to Skype

2011-12-06 Thread Andreas Schneider
On Tuesday, December 6, 2011, at 17:32 Marco Ciampa wrote: On Tue, Dec 06, 2011 at 03:25:58PM +0200, Juha Manninen wrote: 2011/12/6 Marco van de Voort mar...@stack.nl You do realize that Skype is now Microsoft? and Skype is not the only or dominant choice any more like it used to be.

Re: [Lazarus] Libc functions and types

2012-01-17 Thread Andreas Schneider
On Tuesday, January 17, 2012, at 11:20 Udav wrote: Sven, I tried searching inside RTL and localtime_r() is only declared in the libc/newlibc units. I think I'd have to use it because I'm trying to make my units RAD/FPC compatible and RAD uses libc for POSIX code and doesn't worry about it.

Re: [Lazarus] ETL tool - make or use?

2012-03-24 Thread Andreas Schneider
On Friday, March 23, 2012 20:05 Michael Van Canneyt wrote: Always option 1. Because it always turns out you need to check for doubles and do updates; making self written code the most optimal tool. You always know your own data best of all. Michael. I can only confirm this. The

Re: [Lazarus] Strip debug info

2012-04-30 Thread Andreas Schneider
On Monday, April 30, 2012 09:37 Michael Schnell wrote: On 04/29/2012 12:09 PM, Martin wrote: Then you have an outdated debug info file, The release build could just delete this file (provided it's there where a corresponding debug build would create it). -Michael Please don't

Re: [Lazarus] A (simple) picture of Lazarus

2011-02-10 Thread Andreas Schneider
On Thu, 10 Feb 2011 00:03:31 +0100, shoKwave wrote: Hi list, from time to time there is a user (like me about one year ago) confused of how to install Lazarus and where to place all the files. There are some tutorials out there which tell the user to create a special structure of directories

Re: [Lazarus] Did the executable output path change?

2011-02-11 Thread Andreas Schneider
On Fri, 11 Feb 2011 14:18:28 +0100, Hans-Peter Diettrich wrote: Bo Berglund schrieb: One of the advantages of following this list via the GMane news relay (news.gmane.org group: gmane.comp.ide.lazarus.general) is that the message bodies are plaintext. :-) This doesn't help any contributor,

Re: [Lazarus] Did the executable output path change?

2011-02-11 Thread Andreas Schneider
On Fri, 11 Feb 2011 14:34:19 +0100, Marco van de Voort wrote: I've a problem with it with the latest version of my email-client (ELM), so I would like to see it go too! Fair enough, but I guess it should probably be forbidden by mailman (which, afaik, offers filtering). So it's up to the

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Andreas Schneider
On Wednesday, March 30, 2011 11:19 michael.vancann...@wisa.be wrote: Well, definitely not on Unix. On unix, the EXE directory should never contain config files. That depends. I think I'm not the only Lazarus user who has Lazarus installed in his home directory; i.e. without make install.

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Andreas Schneider
On Thursday, March 31, 2011 12:22 Hans-Peter Diettrich wrote: Right, but this is only a workaround, that requires much care in making it work. Did you ever notice the many error messages and warnings, at the first start of a another Lazarus installation, when it tries to initialize itself

Re: [Lazarus] More explorations with tiOPF

2011-06-06 Thread Andreas Schneider
On Tue, 15 Mar 2011 14:53:45 +0200, Graeme Geldenhuys wrote: Do you mean the no type checking issue is with Firebird Embedded, or with SQLLite? Just a side note: It's just SQLite, with only one L. You might also want to fix this in the tiOPF related file names. --

Re: [Lazarus] Compiling only LCL to 64-bit, on Windows

2011-08-25 Thread Andreas Schneider
At Wednesday, 24.08.2011 on 15:06 Marcos Douglas wrote: So, what is the best way to use Win 32 and 64-bit, in my case? I would suggest: don't go the most complicated route ever ;-) It's really dead simple to get cross compilation with Windows as target to run. In your case I would suggest

Re: [Lazarus] Compiling only LCL to 64-bit, on Windows

2011-08-25 Thread Andreas Schneider
? Marcos Douglas The very first answer (by Felipe) answered that already ;-) On 24.08.2011 08:59, Felipe Monteiro de Carvalho wrote: Set your project architecture to x86-64 and compile your project. If it uses the LCL, then the LCL will automatically be recompiled. -- Best Regards, Andreas Schneider

Re: [Lazarus] Compiling only LCL to 64-bit, on Windows

2011-08-25 Thread Andreas Schneider
it knows, but it doesn't remove unknown files. I'm not aware of an SVN equivalent of Mercurial's purge (for example). So yes, a clean checkout CAN make sense sometimes. -- Best Regards, Andreas Schneider -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Compiling only LCL to 64-bit, on Windows

2011-08-25 Thread Andreas Schneider
On 25.08.2011 17:09, Graeme Geldenhuys wrote: On 08/25/2011 05:06 PM, Andreas Schneider wrote: Although slightly off-topic, but SVN's revert is not really clean. It reverts files it knows, but it doesn't remove unknown files. I'm not aware of an SVN equivalent of Mercurial's purge (for example

Re: [Lazarus] easy cross-platform compiling??

2010-05-31 Thread Andreas Schneider
Am Sonntag 30 Mai 2010, 18:16:09 schrieb waldo kitty: why can't one locate easily installable, pre-packaged add-ons (not correct term) for cross-compiling capabilities? for example, one might install the win32 flavor of Laz/FPC and then simply install the win32 flavor of the linux

Re: [Lazarus] SetFileTime in Linux?

2010-06-25 Thread Andreas Schneider
Am Freitag 25 Juni 2010, 17:55:38 schrieb bobby: Hi @all, Is there in Linux any function to set file time (created/modified)? I need it to set the file/directory time at unpacking ZIP archives. As it happens, I had to use such a function for my patch engine ... all necessary functions and

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-23 Thread Andreas Schneider
On Fri, 23 Jul 2010 13:14:54 -0400, waldo kitty wkitt...@windstream.net wrote: On 7/23/2010 10:34, Juha Manninen wrote: As a result the page became very long and the relevant information was very difficult to find. Other wiki pages have the same problem. now you know one of my main

Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread Andreas Schneider
On Thu, 29 Jul 2010 11:24:46 -0300, Marcos Douglas m...@delfire.net wrote: I think I must learn GUI programming with Java and port the code. Java is already installed on those machines and runs for sure. The other choise is to boot Windows XP on my mini-laptop, install Lazarus there and

Re: [Lazarus] fplazspreadsheet formula

2010-08-07 Thread Andreas Schneider
On Sat, 07 Aug 2010 13:13:31 +0200, Bogusław Brandys bran...@o2.pl wrote: Yes,I'm talking about code from xls5biff. I've put it into xls8biff and it seems to work but in openoffice calc I see error 520 instead of formula so evidently it need adjustment. What should I change ,maybe tokens

Re: [Lazarus] TSplitter

2010-08-21 Thread Andreas Schneider
On Sat, 21 Aug 2010 21:19:33 +0200 (CEST), Dimitri Smits smi...@telenet.be wrote: Warning: probably off-topic And a final note on those designers in java: you can and always had the ability to use a NULL-Layout to use absolute layouting. That is the closest to the way Delphi does it.

Re: [Lazarus] How to configure IDE for my own libraries?

2010-08-30 Thread Andreas Schneider
On Mon, 30 Aug 2010 09:05:46 +0100, Frank Church vfcli...@gmail.com wrote: I am thinking along this line but I don't know how to go about. I usually drag a component onto a project form for the components unit to be added to the file I am working on. My units are source units only, not

Re: [Lazarus] how to report the following bug ?

2010-10-07 Thread Andreas Schneider
On Thu, 7 Oct 2010 22:25:18 +0200, ik ido...@gmail.com wrote: Hello, I'm using Archlinux, and recently they changed the name of libgdk_pixbuf-2.0.so [1] to libgdk_pixbuf.so . This is a problem with compiling Lazarus (maybe FPC packages itself, did not checked). The thing is, that I do

Re: [Lazarus] Can't build IDE with Lazbuild

2010-11-04 Thread Andreas Schneider
On Thu, 4 Nov 2010 08:41:06 -0300, Marcos Douglas m...@delfire.net wrote: What is the difference to use lazbuild instead of IDEBuild? Marcos Douglas You don't have to run the IDE, that's the main advantage. This in turn is great for automation. Best Regards, Andreas. --

Re: [Lazarus] Control view style 3D?

2010-11-09 Thread Andreas Schneider
On Tue, 09 Nov 2010 08:34:30 +0100, Bo Berglund bo.bergl...@gmail.com wrote: I am new to Lazarus but I have noted that the controls I put on a form look very flat... I am used to having sunken controls, but there seems to be no place to set such a property. Am I missing something here? The

Re: [Lazarus] Lazarus download page

2010-11-10 Thread Andreas Schneider
On Wed, 10 Nov 2010 17:37:25 +0100, Joost van der Sluis jo...@cnoc.nl wrote: Hi all, I've been playing to build some more user-friendly download page with installation instructions. Before I continue, I would like to know whay you guys find of the basic idea:

Re: [Lazarus] OFFTOPIC: Money Model, for Lazarus

2010-12-05 Thread Andreas Schneider
On Sun, 05 Dec 2010 10:31:01 +0100, Bo Berglund bo.bergl...@gmail.com wrote: On Thu, 2 Dec 2010 18:19:12 -0300, Osvaldo Filho arquivos...@gmail.com wrote: And by the way, Firebird is not “just” engine, but tools around too: .NET driver [image: ;)] , Java driver, documentation, QA, …, you name

Re: [Lazarus] Can't find unit contnrs used by Masks

2010-12-16 Thread Andreas Schneider
On Mon, 13 Dec 2010 09:44:30 +0100, Michael Schnell wrote: On 12/11/2010 11:57 PM, Bernd Kreuss wrote: If you do a make install it might *not* replace an existing compiler binary at /usr/bin/ I did check this by doing: /usr/bin/fpc Free Pascal Compiler version 2.5.1 [2010/12/09] for i386

Re: [Lazarus] Can't find unit contnrs used by Masks

2010-12-20 Thread Andreas Schneider
On Mon, 20 Dec 2010 10:39:33 +0100, Michael Schnell wrote: On 12/17/2010 11:31 AM, Sven Barth wrote: Should I just remove it ? Might be the wisest solution. renamed it and now I get: Clean Lazarus Source completed Fatal: Can't find unit system used by AllLCLUnits I suppose now no fpc.cfg

Re: [Lazarus] What are widgets in lazarus?

2011-01-05 Thread Andreas Schneider
On Wed, 05 Jan 2011 16:12:46 +0200, Graeme Geldenhuys wrote: Note though that if you are creating commercial apps with Qt, you need to purchase a license (+-3500 US dollars per developer - last time I checked). fpGUI and MSEide are free, even for commercial apps. That must have been over a

Re: [Lazarus] invisible break points??

2011-01-07 Thread Andreas Schneider
On Fri, 7 Jan 2011 12:24:15 +0100, José Mejuto wrote: Hello Lazarus-List, Friday, January 7, 2011, 7:54:17 AM, you wrote: GG I have looked into it (at the time), and it seems that if you set a GG breakpoint in the IDE and save the project. Then modify your code so the GG line at which the

Re: [Lazarus] Error building IDE using LazBuild

2011-01-11 Thread Andreas Schneider
Guten Tag, shoKwave, am Dienstag, 11. Januar 2011 um 17:39 schrieben Sie: Hi list, I just tried to update my trunk-installation and got this: ./lazbuild -B --build-ide= An unhandled exception occurred at $006C907B : Exception : TFPCUnitToSrcCache.GetConfigCache missing

Re: [Lazarus] Revision 28960 Compilation Error

2011-01-11 Thread Andreas Schneider
On 11.01.2011, 19:51 Torsten Bonde Christiansen wrote: I hope i'm not picking on anyone here, but in a previous discussion (which I started some time ago, similar to this) it was said that Lazarus trunk should still be able to compile with fpc v2.4.0. Perhaps the Lazarus developer should

Re: [Lazarus] fpGUI

2011-01-12 Thread Andreas Schneider
. That automatically gets rid of most custom protocols like git. -- Andreas Schneider -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Namespace

2011-01-12 Thread Andreas Schneider
when you do *not* specify a unit explicitly. So just make sure that LCL's TButton is always the default one and you can still use your own TButton by prefixing it with your own unitname. All you want is already there and seems to cover 99% of the usecases. -- Andreas Schneider

Re: [Lazarus] Are there some preprocessor values that can be set in the IDE for debugging, ie DEBUG et al?

2011-01-12 Thread Andreas Schneider
Lazarus version (0.9.30+) should be THE answer for such questions :D Yes, you still have to set the define then, but only once, because after that you just switch to that build mode and are done. -- Andreas Schneider -- ___ Lazarus mailing list Lazarus

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

2011-01-13 Thread Andreas Schneider
On Thursday, January 13, 2011 21:47 Bo Berglund wrote: I need to build a GUI application, which should act as a simple-to-use front-end to a Windows console program. The console program accepts a number of different commands, which are specified on its command line as parameters separated by

Re: [Lazarus] fpGUI

2011-01-14 Thread Andreas Schneider
On Mon, 10 Jan 2011 13:25:29 +0200, Graeme Geldenhuys wrote: Op 2011-01-10 12:41, michael.vancann...@wisa.be het geskryf: ... fpGUI is very sensitive to the order in which you do things. That's simply because the UI is defined as actual source code (just like Qt Creator, any Java form

Re: [Lazarus] What are widgets in lazarus?

2011-01-14 Thread Andreas Schneider
On Mon, 10 Jan 2011 14:20:47 +0100 (CET), wrote: This is not correct. People do strive to 100% the same everywhere. But the 100% the same working on all platforms is hard to reach, and takes time, it is an ambitious target. Rome also wasn't built on a day. I don't think that 100% the same

Re: [Lazarus] fpGUI

2011-01-14 Thread Andreas Schneider
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). This is not needed when using fpGUI as a LCL

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 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] 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] Accessing MS SQLServer database from Lazarus/FPC?

2011-01-23 Thread Andreas Schneider
On Mon, 24 Jan 2011 09:28:05 +0200, Graeme Geldenhuys wrote: Alternatively, add the SqlDB source path to your project, then when you compile your project, it will compile the SqlDB code too - as if it was part of your project source code. That probably won't work and will only cause

Re: [Lazarus] What is the future of NoGUI widget set?

2011-01-26 Thread Andreas Schneider
On Wednesday, January 26, 2011 12:58 Thorstein Beyer wrote: On Wed, Jan 26, 2011 at 11:19 AM, Graeme Geldenhuys wrote: Well... if they are talented, then hopefully they knew from the start how to separate non-GUI code from GUI code in the first place I strongly disagree with that, because

Re: [Lazarus] Modal forms: block parent form or application

2011-01-30 Thread Andreas Schneider
On Sunday, January 30, 2011 00:13 cobines wrote: But what about dialog boxes with buttons requiring user input? Usually you want to have result which button was pressed and such dialog boxes are shown as modal with ModalResult returned. Showing OpenFile dialog, showing messages with

Re: [Lazarus] [fpc-pascal] Re: How to use GetElementById?

2011-01-30 Thread Andreas Schneider
Title: Re: [fpc-pascal] Re: How to use GetElementById? On Sunday, January 30, 2011 13:52 silvioprog wrote: Sorry... but nobody? :( Well, when you crosspost to two mailing lists (which you shouldn't ...), then also check both of them ;-) There was an answer on the Lazarus ML. -- Best

Re: [Lazarus] CGILazIDE cannot be found...

2011-01-31 Thread Andreas Schneider
On Mon, 31 Jan 2011 14:16:58 +0100, Bo Berglund wrote: I have checked out lazarus_0_9_30_fixes branch today into a new folder and successfully rebuilt lazarus using the release fpc 2.4.2 (on windows). Now inside Lazarus I need to register the SdpoSeriial package so I open the sdposerial.laz

Re: [Lazarus] record literal in FPC?

2013-01-09 Thread Andreas Schneider
Hi, you could also use the with-statement, that is pretty handy in such cases: |with Edit1.CaretPos do begin X := 0; Y := 0; end;| Best Regards, Andreas On 08.01.2013 16:30, xrfang wrote: Hi, Is there record literal in FPC? e.g. normally, you do: var cp : TPoint; cp.X := 0;

Re: [Lazarus] record literal in FPC?

2013-01-09 Thread Andreas Schneider
On 09.01.2013 13:19, xrfang wrote: Hi Adreas, I just tried, your method did not work as expected. It compiled ok, but didn't put the cursor at the end of the line as I wanted. However, assign CaretPos a new TPoint worked. Regards, ? ?, 1? 9, 2013 at 4:47 ??,Andreas Schneider ak

Re: [Lazarus] record literal in FPC?

2013-01-09 Thread Andreas Schneider
On Wednesday, January 9, 2013, 01:40pm Paul Ishenin wrote: First check whether it works delphi mode. Apparently, it even works in mode objfpc. But only when the property directly reads/writes a member. If there is a setter method, it will still compile but NOT actually change the

Re: [Lazarus] Off topic. Version numbers

2014-05-16 Thread Andreas Schneider
On 16.05.2014 06:09, Flávio Etrusco wrote: So in practice it's the same, no? ;-) It feels a bit annoying to have high numbers in the major version, and I guess that's why no project ever follows that scheme to the letter. offtopic Well, in the browser business they seem to follow that idea to

Re: [Lazarus] New FPC 3.0 and Lazarus 1.4 Test Installer

2015-01-20 Thread Andreas Schneider
Am 14.01.2015 um 17:55 schrieb Anthony Walter: I not aware of any embedded form designer that has existed for Lazarus. If anyone on the mailing lists know something about that, I'd love to learn something. I presume kzDesktop is what you are looking for :-)

Re: [Lazarus] GUI design: fixed height panel at bottom

2015-01-08 Thread Andreas Schneider
Am 08.01.2015 um 02:40 schrieb Marc Santhoff: What I can't do is make this panel fixed height. Setting it's propety height in OnREsize of the form doesn't work, I think the other anchors reset the height according to their rules. Sounds like you set the anchors wrong. What you described should

Re: [Lazarus] German umlauts in component names

2016-04-07 Thread Andreas Schneider
Am 2016-04-02 14:38, schrieb Graeme Geldenhuys: On 2016-04-02 13:16, Santiago A. wrote: similar should be done. You would need to make compulsory a command in source code to tell which code set is using. As a contract programmer I already struggle working on code where identifiers, Class

Re: [Lazarus] Changing the Height of a form, the design change me, why?

2016-03-24 Thread Andreas Schneider
Am 2016-03-24 08:53, schrieb SocGer: > I have a form designed that if you change the Height, both in design and > execution, some of its components (Edit, Grid, etc) change my position and it > break the design. > > Can you give me an idea of why this happens? > > Thanks in advance.