Re: [Lazarus] How to minimize/restore lazarus (Ubuntu)?

2011-04-12 Thread Bo Berglund
On Sun, 10 Apr 2011 23:29:15 +0300, ik ido...@gmail.com wrote: Please see answer inline. On Sun, Apr 10, 2011 at 22:08, Bo Berglund bo.bergl...@gmail.com wrote: I was using Lazarus to create a console application for parsing out data from a network speed test program. When doing this I had

Re: [Lazarus] Console application does not close cleanly!

2011-04-12 Thread Bo Berglund
On Sun, 10 Apr 2011 23:32:57 +0300, ik ido...@gmail.com wrote: Is this specific to Ubuntu Linux or is it some error in my coding that causes this? [blush]... I made a silly mistake of creating and freeing the same object twice (in constructor/destructor plus in a method)! Of course freeing

Re: [Lazarus] How to minimize/restore lazarus (Ubuntu)?

2011-04-12 Thread Flávio Etrusco
(...) When doing this I had to look at files from the test application and then code back and forth. But it was very annoying that it seems not to be possible to minimize Lazarus and then clicking the Lazarus icon on the task bar to bring it all back up. There are a whole bunch of buttons on

Re: [Lazarus] How to minimize/restore lazarus (Ubuntu)?

2011-04-12 Thread zeljko
On Sunday 10 of April 2011 21:08:30 Bo Berglund wrote: Maybe there is a setting somewhere to handle this? If so please tell me where it is. Tools-Options-Environment-Window- [x] Show single button in TaskBar zeljko -- ___ Lazarus mailing list

Re: [Lazarus] Metafile support

2011-04-12 Thread Felipe Monteiro de Carvalho
Hello, I added Pen and Brush information to all generic data structures in fpvectorial in the lazarus-ccr, please take a look. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] AnchorDocking resize priority

2011-04-12 Thread Andrey M, Zubarev
Hi All, Possible to make a priority for resizing docked windows? To the extent possible when resizing the form, the changes occurred due to a single window, instead of all proportion to? -- Best regards, Andrey mailto:zam...@gmail.com --

[Lazarus] Trouble building IDE using lazbuild

2011-04-12 Thread shoKwave
Hi list, since some time (IIRC since making the lcl a usual package) I get an error when building the IDE using lazbuild. Errormessage: ... Compiling lazhelpintf.pas Compiling lazlinkedlist.pas Compiling lclmemmanager.pas Compiling lclmessageglue.pas Fatal: Can't find unit Messages used by

[Lazarus] Strange EAccessViolation

2011-04-12 Thread Luca Olivetti
Today I have been reported a crash in an application and they sent me the stack trace it captured: 11/04/2011 16:09:11 EAccessViolation Access violation Stack trace: $004EED89 $004EF8BD $0040BF3B $004EEBDC $004ED988 $004E532F $004E644E $00567767 $0050D695 $7E418734

Re: [Lazarus] TImage and PNG (on linux)

2011-04-12 Thread Marc Weustink
Leonardo M. Ramé wrote: Hi, I was testing a sample project and found that on Windows, handling of PNGs with transparent backgrounds is working ok, but on Linux it doesn't work as expected. The image is a black line on the top of the image, with a Gaussian Blur applied on Photoshop, then saved to

Re: [Lazarus] UniqueInstance issue

2011-04-12 Thread Giuliano Colla
Luiz Americo Pereira Camara ha scritto: On 3/4/2011 08:17, Giuliano Colla wrote: Luiz Americo Pereira Camara ha scritto: On 2/4/2011 15:18, Giuliano Colla wrote: In an application I'm currently developing, meant to run under RHEL5, I needed to ensure that no multiple instances were running,

Re: [Lazarus] How to minimize/restore lazarus (Ubuntu)?

2011-04-12 Thread Bo Berglund
On Sun, 10 Apr 2011 23:29:15 +0300, ik ido...@gmail.com wrote: Please see answer inline. On Sun, Apr 10, 2011 at 22:08, Bo Berglund bo.bergl...@gmail.com wrote: I was using Lazarus to create a console application for parsing out data from a network speed test program. When doing this I had

Re: [Lazarus] Component visibility at design time

2011-04-12 Thread Juha (gmail)
patspiper kirjoitti sunnuntai, 10. huhtikuuta 2011 20:56:17: The button will be visible by default. The application would show or hide the button depending on the context. Anyway, my actual modifications to TEditBtn just add the necessary logic so that a descendant that can hide/show the

[Lazarus] How to convert it to FPC/Lazarus

2011-04-12 Thread ik
Hello, I have a Delphi based program that I try to rewrite for Lazarus (The original code is not mine). There is a code there like so: type TTab = (ttOne, ttTwo, ttThree); TTabs = set of TItems; ... procedure DisplayTabs(Display : TTabs); var i:integer; begin Tabs:=Display; for

Re: [Lazarus] How to convert it to FPC/Lazarus

2011-04-12 Thread michael . vancanneyt
On Tue, 12 Apr 2011, ik wrote: Hello, I have a Delphi based program that I try to rewrite for Lazarus (The original code is not mine). There is a code there like so: type TTab = (ttOne, ttTwo, ttThree); TTabs = set of TItems; ... procedure DisplayTabs(Display : TTabs); var i:integer;

Re: [Lazarus] AnchorDocking resize priority

2011-04-12 Thread Mattias Gaertner
    Andrey M, Zubarev zam...@gmail.com hat am 11. April 2011 um 10:16 geschrieben: Hi All, Possible to make a priority for resizing docked windows? To the extent possible when resizing the form, the changes occurred due to a single window, instead of all proportion to? There is no property

Re: [Lazarus] How to convert it to FPC/Lazarus

2011-04-12 Thread ik
On Tue, Apr 12, 2011 at 16:52, michael.vancann...@wisa.be wrote: On Tue, 12 Apr 2011, ik wrote: Hello, I have a Delphi based program that I try to rewrite for Lazarus (The original code is not mine). There is a code there like so: type TTab = (ttOne, ttTwo, ttThree); TTabs = set

Re: [Lazarus] How to minimize/restore lazarus (Ubuntu)?

2011-04-12 Thread ik
2011/4/11 Flávio Etrusco flavio.etru...@gmail.com (...) When doing this I had to look at files from the test application and then code back and forth. But it was very annoying that it seems not to be possible to minimize Lazarus and then clicking the Lazarus icon on the task bar to

Re: [Lazarus] UniqueInstance issue

2011-04-12 Thread Giuliano Colla
Luiz Americo Pereira Camara ha scritto: On 3/4/2011 08:17, Giuliano Colla wrote: Luiz Americo Pereira Camara ha scritto: On 2/4/2011 15:18, Giuliano Colla wrote: In an application I'm currently developing, meant to run under RHEL5, I needed to ensure that no multiple instances were running,

Re: [Lazarus] How to minimize/restore lazarus (Ubuntu)?

2011-04-12 Thread Flávio Etrusco
On Tue, Apr 12, 2011 at 1:12 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: Flávio Etrusco schrieb: There are a whole bunch of buttons on the task bar all having the Lazarus icon and when I click them I only get a single window of the IDE visible each time. So I have to click them in

Re: [Lazarus] TImage and PNG (on linux)

2011-04-12 Thread Krzysztof
This is known issue. GTK have no alpha yet but I created set of components which partially solve this problem by using BGRABitmap class, details: http://www.lazarus.freepascal.org/index.php/topic,12411.0.html . Although there is no TImage yet but I can try create it. For TrayIcon on GTK you must

Re: [Lazarus] Component visibility at design time

2011-04-12 Thread patspiper
On 04/11/2011 11:19 PM, Juha (gmail) wrote: patspiper kirjoitti sunnuntai, 10. huhtikuuta 2011 20:56:17: The button will be visible by default. The application would show or hide the button depending on the context. Anyway, my actual modifications to TEditBtn just add the necessary logic so

Re: [Lazarus] TImage and PNG (on linux)

2011-04-12 Thread Leonardo M . Ramé
On 2011-04-12 20:18:48 +0200, Krzysztof wrote: So if you want operate on bitmaps and canvas then maybe it is better to read about BGRABitmap and do this same things which i'm doing in my components. This is very interesting class. You can load PNG image to this class and draw

Re: [Lazarus] TImage and PNG (on linux)

2011-04-12 Thread Krzysztof
I am not the author of BGRABitmap class but I think it is easy to assign bitmap from resource to BGRABitmap class. You can load image from resource using TResourceStream (there is tutorial on wiki) and then call BGRABitmap.LoadFromStream(MyResourceStream) 2011/4/12 Leonardo M. Ramé

Re: [Lazarus] TImage and PNG (on linux)

2011-04-12 Thread Leonardo M . Ramé
On 2011-04-12 20:36:34 +0200, Krzysztof wrote: I am not the author of BGRABitmap class but I think it is easy to assign bitmap from resource to BGRABitmap class. You can load image from resource using TResourceStream (there is tutorial on wiki) and then call

Re: [Lazarus] TImage and PNG (on linux)

2011-04-12 Thread Leonardo M . Ramé
On 2011-04-12 16:09:07 -0300, Leonardo M. Ramé wrote: On 2011-04-12 20:36:34 +0200, Krzysztof wrote: I am not the author of BGRABitmap class but I think it is easy to assign bitmap from resource to BGRABitmap class. You can load image from resource using TResourceStream (there

Re: [Lazarus] How to minimize/restore lazarus (Ubuntu)?

2011-04-12 Thread Bo Berglund
On Mon, 11 Apr 2011 08:13:31 +0200, zeljko zel...@holobit.net wrote: On Sunday 10 of April 2011 21:08:30 Bo Berglund wrote: Maybe there is a setting somewhere to handle this? If so please tell me where it is. Tools-Options-Environment-Window- [x] Show single button in TaskBar THere are no

Re: [Lazarus] How to minimize/restore lazarus (Ubuntu)?

2011-04-12 Thread Martin
On 12/04/2011 21:34, Bo Berglund wrote: Tools-Options-Environment-Window- [x] Show single button in TaskBar THere are no Options under Tools... I have found this: Environment-Options-Environment-Window Here I have the following checkboxes: []Minimize all on minimize main (checked and

Re: [Lazarus] How to minimize/restore lazarus (Ubuntu)?

2011-04-12 Thread Malcolm Poole
On 12/04/11 15:22, ik wrote: 2011/4/11 Flávio Etrusco flavio.etru...@gmail.com mailto:flavio.etru...@gmail.com (...) When doing this I had to look at files from the test application and then code back and forth. But it was very annoying that it seems not to be