Re: [Lazarus] Would you like a single button of Lazaru s IDE on the taskbar on Linux? (Você gostaria de um único botão da IDE do Lazarus na barra de tarefas no L inux?)

2010-04-16 Thread Alberto Narduzzi
Visualize how it would be: (Visualize como seria:) http://yfrog.com/izsiglebuttonidegtkp under KDE, in a Fedora 7 machine, I get only one button for Lazarus. Then, if I click on that button, nothing happens, but a popup shows, with the options to minimize (if they are visible) or maximize-res

Re: [Lazarus] OOP basics - 2

2010-04-16 Thread Thierry Coq
Hello, I see the opposite comments in curly braced languages about circular dependencies and (lack) of reuse all the time. It's a question of of design which paints them into corners regularly. The fact that the compiler enforces the acyclic properties of the dependency graph is, in fact, a

Re: [Lazarus] [ Slightly Off Topic ] Background & Why I love Lazarus & Pascal

2010-04-16 Thread Peter Williams
G'day Gnome-Games-developers, see comments below With Best Regards,   PEW { Peter Eric Williams } from Hobart, Tasmania, Australia My FREE Websites:  http://pewink.org On 12 March 2010 20:41, Peter Williams wrote: > > G'day Robert, > (and all CC folks) > > See my comments below (I'll try to n

[Lazarus] Frame3D

2010-04-16 Thread Juha Manninen
I am trying to port ESSModel Delphi program. There is: Frame3D(Canvas, Rect, TopColor, BottomColor, BevelWidth); the best replacement in LCL I found is: Canvas.Frame3D(Rect, BevelWidth, bvLowered); but it has a very different parameter signature. The original has 2 TColor parameters. How

Re: [Lazarus] Frame3D

2010-04-16 Thread Marc Weustink
Juha Manninen wrote: I am trying to port ESSModel Delphi program. There is: Frame3D(Canvas, Rect, TopColor, BottomColor, BevelWidth); the best replacement in LCL I found is: Canvas.Frame3D(Rect, BevelWidth, bvLowered); but it has a very different parameter signature. The original has

[Lazarus] Published interface TWSxxxxxx

2010-04-16 Thread José Mejuto
Hello Lazarus-List, All objects in the widgetset interface TWSx has the "class procedure" under the published section like: TWSBitBtn = class(TWSButton) published class procedure SetGlyph(const ABitBtn:... class procedure SetLayout(const ABitBtn:.. class procedure SetMar

Re: [Lazarus] OOP basics - 2

2010-04-16 Thread Doug Chamberlin
On 4/15/2010 4:37 AM, Michael Van Canneyt wrote: To summarize: All I wanted to say is that 1. I don't think that each class should be in it's own unit; If it is beneficial to do so, I will. If not: I don't. 2. The structure of my classes has never forced me to solve circular references

Re: [Lazarus] Published interface TWSxxxxxx

2010-04-16 Thread Marc Weustink
José Mejuto wrote: Hello Lazarus-List, All objects in the widgetset interface TWSx has the "class procedure" under the published section like: TWSBitBtn = class(TWSButton) published class procedure SetGlyph(const ABitBtn:... class procedure SetLayout(const ABitBtn:..

Re: [Lazarus] Frame3D

2010-04-16 Thread Paul Ishenin
16.04.2010 17:01, Juha Manninen wrote: I am trying to port ESSModel Delphi program. There is: Frame3D(Canvas, Rect, TopColor, BottomColor, BevelWidth); the best replacement in LCL I found is: Canvas.Frame3D(Rect, BevelWidth, bvLowered); but it has a very different parameter signature

[Lazarus] TTreeView events OnCreateNodeClass and OnAddition

2010-04-16 Thread Juha Manninen
Hi, Delphi compatibility issue again. TTreeView is missing events: TTreeView.OnCreateNodeClass and TTreeView.OnAddition They don't exist in parent classes or anywhere in LCL. Is there any chance they will be implemented or should I change the program code to get around this problem? Regard

Re: [Lazarus] Published interface TWSxxxxxx

2010-04-16 Thread José Mejuto
Hello Lazarus-List, Friday, April 16, 2010, 3:02:37 PM, you wrote: >> Is there any reason to be published instead public ? Maybe to garantee >> that the functions will never be removed by fpc/linker if not directly >> used in the code ? MW> there is a "virtual" classtree build based on RTTI. RTTI

Re: [Lazarus] Would you like a single button of Lazaru s IDE on the taskbar on Linux? (Você gostaria de um único botão da IDE do Lazarus na barra d e tarefas no Linux?)

2010-04-16 Thread Flávio Etrusco
2010/4/16 Alberto Narduzzi : >> Visualize how it would be: (Visualize como seria:) >> >> http://yfrog.com/izsiglebuttonidegtkp > > under KDE, in a Fedora 7 machine, I get only one button for Lazarus. > > Then, if I click on that button, nothing happens, but a popup shows, with > the options to mini

Re: [Lazarus] Would you like a single button of Lazaru s IDE on the taskbar on Linux? (Você gostaria de um único botão da IDE do Lazarus na barra d e tarefas no Linux?)

2010-04-16 Thread Flávio Etrusco
2010/4/15 Silvio Clecio : > Visualize how it would be: (Visualize como seria:) > > http://yfrog.com/izsiglebuttonidegtkp > > To vote: (Para votar:) > > http://www.lazarus.freepascal.org/index.php/topic,9169.0.html > > Thanks for your vote! (Obrigado pelo seu voto!) > I have a patch to fix the task

Re: [Lazarus] Would you like a single button of Lazaru s IDE on the taskbar on Linux? (Você gostaria de um único botão da IDE do Lazarus na barra de tarefas no L inux?)

2010-04-16 Thread Silvio Clecio
Alberto Narduzzi escreveu: [...] > Maybe it's a behavior of Gnome's window-manager. Do not know if it's Gnome. But other programs work with only one button, and Gnome (GTK2), please see: http://imagebin.org/93311 (GIMP) http://imagebin.org/93312 (FlameRobin) -- []'s Silvio Clécio -- programmer

Re: [Lazarus] Would you like a single button of Lazaru s IDE on the taskbar on Linux? (Você gostaria de um único botão da IDE do Lazarus na barra de tarefas no L inux?)

2010-04-16 Thread Silvio Clecio
Flávio Etrusco escreveu: > I have a patch to fix the taskbar part of it (it's in mantis). Still > needs a patch to add an option to control it in the IDE ;-) > But there's the problem of Application.Active/Deactivate not working > correctly, which keeps window selection (bring other windows to fron

Re: [Lazarus] TTreeView events OnCreateNodeClass and OnAddition

2010-04-16 Thread Andrew Haines
On 04/16/10 12:38, Juha Manninen wrote: > Hi, > > Delphi compatibility issue again. TTreeView is missing events: > TTreeView.OnCreateNodeClass and LCL has TTreeView.OnCustomCreateItem which may do what you want for this > TTreeView.OnAddition > Sorry I don't know. > They don't exist in

Re: [Lazarus] Cross-platform install tool builder?

2010-04-16 Thread patspiper
Graeme Geldenhuys wrote: If only I found InstallJammer a few months ago, then I would definitely not have bothered with our custom installer. But like I said, I only found out about it now, and already implemented most of our installer features - so no point in just discarding all the effort I al

Re: [Lazarus] Frame3D

2010-04-16 Thread Diogo Piçarra
A Sexta 16 Abril 2010 14:50:04 Paul Ishenin você escreveu: > 16.04.2010 17:01, Juha Manninen wrote: > > I am trying to port ESSModel Delphi program. > > > > There is: > > Frame3D(Canvas, Rect, TopColor, BottomColor, BevelWidth); > > > > the best replacement in LCL I found is: > > Canvas