Re: [Lazarus] TTabsheet componentcount property always seems to show 0

2012-11-03 Thread Hans-Peter Diettrich
Ajeandro Gonzalo schrieb: Thank you, that works. It's curious that componentcount compiles for the tabsheet in the first place. Every TWinControl has both Components and Controls arrays, you cannot get compiler errors here. Components[] lists the controls *owned* by the TWinControl (Owner pr

Re: [Lazarus] TTabsheet componentcount property always seems to show 0

2012-11-03 Thread Paul Ishenin
04.11.12, 2:10, Ajeandro Gonzalo пишет: Thank you, that works. It's curious that componentcount compiles for the tabsheet in the first place. TTabSheet can also own something. For example you can write the next code: NewBtn := TButton.Create(TabSheet1); After that a TabSheet1 will own a T

Re: [Lazarus] Setter code

2012-11-03 Thread Mattias Gaertner
On Sat, 03 Nov 2012 19:03:50 +0100 José Mejuto wrote: > Hello, > > Is there any way to change the code generated when autocomplete a Setter > in a class ? > > Currently it generates something like: > > procedure Tfrm.SetMyproperty(AValue: string); > begin >if FMyProperty = AValue then exi

[Lazarus] Does TSelectionEditor exist for Lazarus?

2012-11-03 Thread Frank Church
I was compiling Indy 10.5.8 and it kept failing with an error TSelectorEditor not defined? Is that object defined in Lazarus or does it have some substitute? Any way I undefined the macro enabling and got it to compile and install. -- Frank Church === http://devblog.brahmanc

Re: [Lazarus] TTabsheet componentcount property always seems to show 0

2012-11-03 Thread Frank Church
On 3 November 2012 18:10, Ajeandro Gonzalo wrote: > Thank you, that works. It's curious that componentcount compiles for the > tabsheet in the first place. > > Can we see the code? > A. G. > > --- On Sat, 11/3/12, Paul Ishenin wrote: > > > From: Paul Ishenin > > Subject: Re: [Lazarus] TTabs

Re: [Lazarus] For Qt LCL users

2012-11-03 Thread Frank Church
On 31 October 2012 07:23, zeljko wrote: > One nice thing in Qt 5 (it'll have it's own "unique" look on all platforms > as > style option): > http://blog.qt.digia.com/2012/10/30/cleaning-up-styles-in-qt5-and-adding- > > fusion/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+TheQtBlog+%

Re: [Lazarus] Indy & WinCE

2012-11-03 Thread Frank Church
On 2 November 2012 09:08, Antonio Fortuny wrote: > Hi All. > > For those who are interested in the paches I've made so far, check on the > attached file. > > The Folder "D:\Programmes\LazPk\Indy10_5_**8\Lib\" is the one which has > been changed. > the folder "D:\Packages\Indy10SVN\Lib\" is the on

Re: [Lazarus] TTabsheet componentcount property always seems to show 0

2012-11-03 Thread Ajeandro Gonzalo
Thank you, that works. It's curious that componentcount compiles for the tabsheet in the first place. A. G. --- On Sat, 11/3/12, Paul Ishenin wrote: > From: Paul Ishenin > Subject: Re: [Lazarus] TTabsheet componentcount property always seems to show > 0 > To: "Lazarus mailing list" > Date:

[Lazarus] Setter code

2012-11-03 Thread José Mejuto
Hello, Is there any way to change the code generated when autocomplete a Setter in a class ? Currently it generates something like: procedure Tfrm.SetMyproperty(AValue: string); begin if FMyProperty = AValue then exit; FMyProperty := AValue; end; And I need to change it (for conveniece)

Re: [Lazarus] TTabsheet componentcount property always seems to show 0

2012-11-03 Thread Paul Ishenin
03.11.12, 4:38, Ajeandro Gonzalo пишет: Am I missing something? All components are owned by TForm. Check for TTabSheet controlCount. Best regards, Paul Ishenin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.fre