Re: [lazarus] Reports

2008-02-01 Thread Andreas Berger
I never used LazReport, but do use FastReport in some Delphi projects. The problem is that I would like to embed the report into a form. FastReport (LazReport) can't do this. Could I have some idea as to what you are using to generate reports? Do you use internal report generators like

Re: [lazarus] Reports

2008-02-01 Thread Andreas Berger
Andreas Berger schrieb: I never used LazReport, but do use FastReport in some Delphi projects. The problem is that I would like to embed the report into a form. FastReport (LazReport) can't do this. I dont think that its such an big problem to create an component that does this. Ok, I have

[lazarus] Reports

2008-01-30 Thread Andreas Berger
Could I have some idea as to what you are using to generate reports? Do you use internal report generators like :LazReport or external ones? LazReport seems to be an incomplete implementation of FreeReport which is also way outdated. Can some one please give me some hints. Thanks, Andreas

Re: [lazarus] Lazarus IDE crashes while loading form

2007-08-31 Thread Andreas Berger
It would be interesting to have a list of lines that must be removed/changed in a dmf file before conversion to lfm. I have a program called dfm2lfm where I include all of these problems that I know of and use it as a pre-processor for each .dfm. It then calls LazRes to convert the

Re: [lazarus] User friendly Build Lazarus pragmatic dialog

2007-08-28 Thread Andreas Berger
Just a question for the experts: Wouldn't it be possible to make a similar window to choose which platform the application is compiled for (to ease cross-platform compilation)? Of course a cross-platform compilation would have to be implemented as well. Andreas

Re: [lazarus] VOOE Programming ? so what about running in a browser someday...?

2007-08-20 Thread Andreas Berger
David Lyon wrote: Bram Kuijvenhoven wrote: Well maybe it's 'Visual Object Oriented Engineering' --- e.g. drag drop your UML diagrams and automagically generate the code from it. I didn't know that was a feature of VB though ;) But of course everyone knows Lazarus supports RAMATC and

Re: [lazarus] VOOE Programming ? so what about running in a browser someday...?

2007-08-20 Thread Andreas Berger
Graeme Geldenhuys wrote: On 20/08/07, Michael Van Canneyt [EMAIL PROTECTED] wrote: But please be realistic: There is no way to port an application to the web by just recompiling. It just can't be done. Think database access, file access etc. If you want to work using the web, you must

[lazarus] Odd compilation

2007-08-09 Thread Andreas Berger
I am converting a windows application from Delphi to Lazarus (Lazarus version 0.9.22 - FPC 2.0.4). To do this I am compiling from the command line. I receive one odd behavior and one odd error. Here is the output from the compilation ... Compiling Monitor.pas Compiling Main.pas

[lazarus] THeaderControl

2007-08-09 Thread Andreas Berger
In this FPC link http://www.mail-archive.com/[EMAIL PROTECTED]/msg08341.html (from July 29) I saw that in Lazarus 0.9.24 the THeaderControl component was added. Since Lazarus 0.9.24 does not exist, I would like to know if the author could send me the component? I need it for the conversion of

Re: [lazarus] THeaderControl

2007-08-09 Thread Andreas Berger
:) :) Thanks a million Vincent Snijders wrote: Andreas Berger schreef: In this FPC link http://www.mail-archive.com/[EMAIL PROTECTED]/msg08341.html (from July 29) I saw that in Lazarus 0.9.24 the THeaderControl component was added. Since Lazarus 0.9.24 does not exist, I would like to know

Re: [lazarus] TCanvas.Rectangle(0, 0, 1, 1) issues

2007-08-07 Thread Andreas Berger
I think implementing Canvas.Rectange with parameters (x, y, width, height) will cause a lot less confusion. Amen to that! :) _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject

Re: [lazarus] Lazarus foundation news

2007-07-31 Thread Andreas Berger
For a eV that is capable of holding rights (members not liable except if they misuse the association), it needs seven founding members at least (and it may at no later point be less than three). Not sure if those have to be German citizens. If so and you have trouble finding seven of them,

[lazarus] html output

2007-06-01 Thread Andreas Berger
Hi all, Is there a way to convert a form into html or php? I have a client that wants to use an existing program over the net, but not install the program on his machine. Instead he wants to use the browser. Do I need to write a php client or can I convert my existing forms to html/php and

[lazarus] Crossplatform Windows-Linux

2007-03-21 Thread Andreas Berger
I'm sorry to bring up something like this, but I really need help. I need to port an app from windows to linux. However, since all my development is under windows I would like to compile under windows and run it on a (or better the only) linux machine in the company. The linux machine is

[lazarus] Problem with transparent images

2006-12-11 Thread Andreas Berger
Well, I finally had time to try transparent images again. This is important for me since it is the last factor that is keeping me from migrating totally to fpc. Actually transparent bitmaps work, but sprites (copying portions of an image transparently to the main canvas) didn't. Here is the

Re: [lazarus] Manipulating bitmaps. (Was fpGUI, fpGFX and fpIMG projects have moved)

2006-11-22 Thread Andreas Berger
, Andreas Berger [EMAIL PROTECTED] wrote: Do you manipulate bitmaps at runtime? The only reason I have not fully switched is that I can not get transparent bitmaps to work correctly. I have a simple sprite system that shows the states of the machines being controlled, but when I manipulate the bitmap

Re: [lazarus] Manipulating bitmaps. (Was fpGUI, fpGFX and fpIMG projects have moved)

2006-11-22 Thread Andreas Berger
http://wiki.lazarus.freepascal.org/Developing_with_Graphics Nice wiki. Wouldn't it be good to add a link here to the Freepascal-SDL wiki? SDL is definitely a good graphics environment. _ To unsubscribe: mail [EMAIL

Re: [lazarus] best way to communicate throught sockets whith lazarus

2006-11-14 Thread Andreas Berger
Can INet work with Delphi. I am writing an app in Delphi that I hope to port to FPC and Lazarus when bitmaps work well in Lazarus. At the moment I am using Synapse, but I prefer a non-blocking approach. Lepidosteus wrote: There is several packages out there for such usage, I myself like to

Re: [lazarus] Lazarus and DOT Net

2006-11-04 Thread Andreas Berger
Anyway, as I said, all is a mater of personal taste, the more options a menu offers to choose from, the better ;o) No. Using .Net is simply stupid and destroying your own. Some people don't get this because they are almost brainwashed by MS but one can't help them anyways anymore. Now,

Re: [lazarus] Transparent glyphs

2006-08-10 Thread Andreas Berger
Ok, I've had time to try this and it works :). Thank you very much Filipe Felipe Monteiro de Carvalho wrote: On 8/9/06, Andreas Berger [EMAIL PROTECTED] wrote: Can someone tell me how to load transparent glyphs for a TSpeedButton at run time? You are forgetting that bitmaps contain

[lazarus] Transparent glyphs

2006-08-09 Thread Andreas Berger
Can someone tell me how to load transparent glyphs for a TSpeedButton at run time? I have tried: glyph.LoadFromFile('x.bmp'); glyph.LoadFromFile('x.bmp'); glyph.Transparent := true; glyph.Transparent := true; glyph.LoadFromFile('x.bmp'); bmp := TBitmap.Create;

[lazarus] Problem with TRegistry

2006-06-14 Thread Andreas Berger
I have a routine that I have been using for years in Delphi to read the registry. However, it does not work with Lazarus. I looked at the Lazarus sources and examples and it seems that Lazarus uses it the same as Delphi. Can someone please tell me what I need to change? The routine is:

[lazarus] Running only one instance of the program

2006-06-14 Thread Andreas Berger
Does Lazarus have a cross-platform way of guaranteeing that only one instance of the program can run? I know how to do this in windows but would like to use a cross-platform approach for my Lazarus apps. It would also be nice (but not necessary) if I could receive a handle or other access

Re: [lazarus] Problem with TRegistry

2006-06-14 Thread Andreas Berger
Michael Van Canneyt wrote: If I remember correctly, there is a bug in the TRegistry class in the official 2.0.2 release of FPC. This bug is meanwhile fixed, but is not in the Lazarus 0.9.16 release. For that you need to compile Lazarus and FPC from the latest sources. Do I need to download FPC

Re: [lazarus] Make copied bitmap transparent

2006-05-31 Thread Andreas Berger
0.9.16. Didn't work in earlier versions only. What happens with CopyRect is that if it the destination bitmap becomes totally transparent. Felipe Monteiro de Carvalho wrote: Which Lazarus version are you using? CopyRect works for me.

[lazarus] linking glscene

2006-05-23 Thread Andreas Berger
When I try to rebuild Lazarus from the IDE to include glscene I get the following vague message: W:\Lazarus\Snap_2006_05_10\ide\lazarus.pp(113,1) Error: Error while linking make.exe(2): *** (lazarus.exe) Error 1. If I remove the glscene package everything is ok. Any ideas? Andreas

Re: [lazarus] Change: TImageList.Add now uses AddCopy instead of AddDirect

2006-05-22 Thread Andreas Berger
Mattias Gaertner wrote: for Delphi compatibility. TImageList.Add used AddDirect, that means, the bitmap was added to the imagelist. The Delphi TImageList adds only the content to the list. This has been changed. The LCL TImageList now adds copies. You have to free now your added images or

Re: [lazarus] Changing TImageList.Add from direct to copying

2006-05-18 Thread Andreas Berger
Mattias Gaertner wrote: Ok I found the problem. Lazarus simply adds the image to the list without making a copy, so when I deleted the image after adding it (like is done in delphi) the image vanished :) . Is this an error? Sorry for the late response. There AddCopy and AddDirect

Re: [lazarus] Request for PR noise !

2006-05-17 Thread Andreas Berger
Florian Klaempfl wrote: Lv wrote: So if you guys want to change the name, where does it leave users like me presenting papers at conferences and citing Lazarus in technical papers as my software of choice? Nice to hear that not all users believe into the imo stupid idea to change the

Re: [lazarus] Pixels

2006-05-13 Thread Andreas Berger
Christian Iversen wrote: On Saturday 13 May 2006 13:05, Andreas Berger wrote: Micha Nelissen wrote: On Fri, 12 May 2006 13:50:22 -0300 Andreas Berger [EMAIL PROTECTED] wrote: Reading and writing pixels to a bitmap under windows 98 does not work. I have looked at the Lazarus

[lazarus] TImageList.Add does not seem to work

2006-05-12 Thread Andreas Berger
I am porting an application from Delphi that depends heavily on images added at runtime to a TImageList. However, the Add method does not seem to work in Lazarus. Here is an example: normalImages := TImageList.Create(AOwner); normalImages.Height := 33; normalImages.Width := 33;

Re: [lazarus] TImageList.Add does not seem to work

2006-05-12 Thread Andreas Berger
Andreas Berger wrote: I am porting an application from Delphi that depends heavily on images added at runtime to a TImageList. However, the Add method does not seem to work in Lazarus. Here is an example: normalImages := TImageList.Create(AOwner); normalImages.Height := 33

[lazarus] Pixels

2006-05-12 Thread Andreas Berger
Reading and writing pixels to a bitmap under windows 98 does not work. I have looked at the Lazarus LCL code and it seem correct since it ends up calling Windows.GetPixel and Windows.SetPixel. The only thing I can assume is that the handle is corrupt. Can someone who knows the internals better

Re: [lazarus] unneccessary packed records in lcltypes

2006-05-08 Thread Andreas Berger
IMO, the LCL doesn't need packed records. It is only a penalty for nothing to have them. If they are used by the win32 interface to send them directly to the winapi, they have to be copied to proper win32 api formats in the win32 widgetset itself. So removing things may break some code, but

Re: [lazarus] Sharing a project between Delphi 5+ and Lazarus

2006-03-22 Thread Andreas Berger
Unfortunatly Lazarus is not yet ready to be used in the comercial world where development time is of essence. There are many things that greatly slow down development when it is done via Lazarus. The IDE is not yet as agile as Delphi's, the debugger is practically useless under windows and the

Re: [lazarus] Sharing a project between Delphi 5+ and Lazarus

2006-03-22 Thread Andreas Berger
Please don't get me wrong. I really believe in Lazarus and think it has a great future. The main problem is that at work I am constantly under pressure to produce and the development environment with Delphi is faster. Debugging is the main problem. I am developing all projects (3 at the

[lazarus] TDateTimePicker

2006-03-16 Thread Andreas Berger
I can't seem to find an equivelant to Delphi's TDateTimePicker in Lazarus. Is there anything similar? A dropdown list that opens the calandar? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the

[lazarus] Diminishing executable

2006-03-15 Thread Andreas Berger
This has probably already been discussed, but could someone give me a quick hint. I compile my lazarus projects from the command line - to me it seems faster. However, I can't get it to create a small executable. I have tried adding the -dRELEASE option when calling the compiler but it has

[lazarus] POP# server using secure conection (SSL)

2006-03-07 Thread Andreas Berger
I can successfully access pop3 servers that do no use SSL, but not those that do. In my code I set pop.AutoTLS:= true; but this is obviously not enough. Can someone please explain how I can add SSL so that I can access the pop3 server? Regards Andreas

Re: [lazarus] POP# server using secure conection (SSL)

2006-03-07 Thread Andreas Berger
Oops, I meant to post this in the synapse list. Sorry all. Bogusław Brandys wrote: Andreas Berger wrote: I can successfully access pop3 servers that do no use SSL, but not those that do. In my code I set pop.AutoTLS:= true; but this is obviously not enough. Can someone please

[lazarus] Using MySQL

2006-03-06 Thread Andreas Berger
A few years back I went to a trade show where I met a representative of MySQL. Since MySQL is not free for comercial applications I asked him if I could use Delphi (at the time) that supports MySQL to write an app that uses MySQL and distribute it. He answered: only if you supply the souce to

Re: [lazarus] Parameter not used ...

2006-02-24 Thread Andreas Berger
Geno Roupsky wrote: a nicer workaroung is this Assert(Sender nil); Thanks :) this could do the trick. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

[lazarus] Program plugin

2006-02-23 Thread Andreas Berger
Could someone give me an idea? I am writing an application to which I hope to add functionality later. One option would be to simple send out the new exe to all users. However, I would like to implement a plugin system. So a new feature could simply be added and totaly integrated to the

Re: [lazarus] Program plugin

2006-02-23 Thread Andreas Berger
Mattias Gaertner wrote: On Thu, 23 Feb 2006 13:35:18 -0300 Andreas Berger [EMAIL PROTECTED] wrote: Could someone give me an idea? I am writing an application to which I hope to add functionality later. One option would be to simple send out the new exe to all users. However, I would like

[lazarus] Parameter not used ...

2006-02-21 Thread Andreas Berger
I know that this question should go to FPC, but since I am not on that mailing list I am hoping some kind soul will answer this here :-) When I compile a Lazarus project from the command line I get a HINT for every parameter not used in the method. This is ok if it is my method, but methods

Re: [lazarus] Parameter not used ...

2006-02-21 Thread Andreas Berger
Danny Milosavljevic wrote: Hi, Am Dienstag, den 21.02.2006, 17:45 + schrieb Tony Pelton: On 2/21/06, Andreas Berger [EMAIL PROTECTED] wrote: I know that this question should go to FPC, but since I am not on that mailing list I am hoping some kind soul will answer this here

Re: [lazarus] Re: Interfacing between Handle property and Gtk functions

2006-02-03 Thread Andreas Berger
I fully agree with Felipe. The handle is the natural way to access the targets API. Felipe Monteiro de Carvalho wrote: Vincent Snijders wrote: Maybe in the future the Form.Handle on windows will contain a pointer to a pascal windowinfo object. Maybe that is the most natural way for us to

Re: [lazarus] patch for setPixelPerInch

2005-11-14 Thread Andreas Berger
Micha Nelissen wrote: On Sun, 13 Nov 2005 21:10:28 +0100 darekM [EMAIL PROTECTED] wrote: Micha Nelissen napisał(a): What does PixelsPerInch have to do with sizes of fonts ? Maybe not from Forms, but I use PixelsPerInch for calculate size of printing elements, I don't

Re: [lazarus] glscene problems

2005-10-18 Thread Andreas Berger
I am getting the same error on 2 different machines. The first has an NVidia Geforce4 MX 440 card, while the second has an onboard SIS card. Both have the latest driver installed, but oddly enough the opengl32.dll is the same on both machines. NVidia has a DLL called NVOPENGL.DLL. I tried using

Re: [lazarus] glscene problems

2005-10-17 Thread Andreas Berger
is not solved after this gruss Christian - Original Message - From: Andreas Berger [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Monday, October 17, 2005 9:04 PM Subject: [lazarus] glscene problems I finally got around to installing glscene. First of all I was informed of a missing export

[lazarus] OpenGL 2D documentation/demo

2005-10-13 Thread Andreas Berger
I am not a graphic programmer, but in an application I am writing I will need a synotic that need to be refreshed at a decent rate - around 40 times per second. I thought to use OpenGL for this, but have not found any documentation on how to do 2D graphics. It seems all the documentation and

Re: [lazarus] OpenGL 2D documentation/demo

2005-10-13 Thread Andreas Berger
Thanks, these are a great help. Also thanks to the others that posted links. I am studying them all. Florian Köberle wrote: If you understand german you may want to read this tutorial about OpenGL and 2D: http://delphigl.com/script/do_show.php?name=opengl2daction=2 Supertux a 2D jump and

[lazarus] SVN in windows and linux

2005-08-18 Thread Andreas Berger
Are there any visual tool for svn that works in windows and linux? *Does any one know if TortoiseSVN run under Wine? I know I could just test it, but I am too lazy to do all these tests :) * _ To unsubscribe: mail [EMAIL

Re: [lazarus] Plugger

2005-08-05 Thread Andreas Berger
| I am developing an app at the moment where the user can change many | aspects of the program. At the moment I am using scripts to override the | program (limited and slow). I thought of changing this to recompile the | program with the user's changes now as code. However, using the

Re: [lazarus] Moving a graphics app from Win to Linux

2005-08-01 Thread Andreas Berger
You got further then I did. I can't open a 1280x1024x32 bitmap (16MB). TBitmap.LoadFromFile throws an exception every time. Ger Remmers wrote: Hi all, Back to working with Lazarus after an away of a year. And I have seen a lot of good stuff has happend during that time. I have written a