Re: [Lazarus] constructor Create How is it work?

2014-03-05 Thread FreeMan
DoDi Thank you very much, You explain much better then me :) Main problem constructor not finished construction, I mean how to handle Self(TExLookUp) construction is finished? I have to wait, when self(TExLookUp) has created, and load self's properties loaded from, form resources (from .lfm) ,

Re: [Lazarus] constructor Create How is it work?

2014-03-05 Thread Mattias Gaertner
On Wed, 05 Mar 2014 13:35:20 +0200 FreeMan freema...@delphiturkiye.com wrote: [...] I have to wait, when self(TExLookUp) has created, and load self's properties loaded from, Override method Loaded. Mattias -- ___ Lazarus mailing list

Re: [Lazarus] constructor Create How is it work?

2014-03-05 Thread Hans-Peter Diettrich
FreeMan schrieb: DoDi Thank you very much, You explain much better then me :) Main problem constructor not finished construction, I mean how to handle Self(TExLookUp) construction is finished? I have to wait, when self(TExLookUp) has created, and load self's properties loaded from, form

[Lazarus] constructor Create How is it work?

2014-03-04 Thread FreeMan
Hello, constructor Create how is work ? In IDE not problem, but In application, form created AOwner not nil, self created, FGrid created, but Self.Parent is NILL ??? Self.left is 0 (not because its 10) all Self.BoundsRect value is 0. Why? for test I added that code to in @EditChange procedure

Re: [Lazarus] constructor Create How is it work?

2014-03-04 Thread Mattias Gaertner
On Tue, 04 Mar 2014 11:50:33 +0200 FreeMan freema...@delphiturkiye.com wrote: Hello, constructor Create how is work ? In IDE not problem, but In application, form created AOwner not nil, self created, FGrid created, but Self.Parent is NILL ??? Self.left is 0 (not because its 10) all

Re: [Lazarus] constructor Create How is it work?

2014-03-04 Thread Mattias Gaertner
On Tue, 04 Mar 2014 17:19:23 +0200 FreeMan freema...@delphiturkiye.com wrote: ExLookUp1:=TExLookUp.Create(Form1); This is for manual creating, I showed you the corresponding code on how a designed component is created, so you can see the order. I'm talk about, I'm designing in IDE, 1-2

Re: [Lazarus] constructor Create How is it work?

2014-03-04 Thread FreeMan
ExLookUp1:=TExLookUp.Create(Form1); This is for manual creating, I'm talk about, I'm designing in IDE, 1-2 TExLookUp on form, and run my application, TExLookUp is class(TCustomEditButton) so Edit and button is shown on where I put on form, in designtime IDE. constructor

Re: [Lazarus] constructor Create How is it work?

2014-03-04 Thread FreeMan
I useto other pascal, Its like a treeview root -- TForm or Tdatamodule Node - parent always there I mean before node create, owner(parent) created, everything finished, loaded properties from Tform etc, its ready to work alone, then jump to child, and if there is child jump bla bla I

Re: [Lazarus] constructor Create How is it work?

2014-03-04 Thread Mattias Gaertner
On Tue, 04 Mar 2014 18:47:45 +0200 FreeMan freema...@delphiturkiye.com wrote: I useto other pascal, Its like a treeview root -- TForm or Tdatamodule Node - parent always there I mean before node create, owner(parent) created, everything finished, loaded properties from Tform etc, its

Re: [Lazarus] constructor Create How is it work?

2014-03-04 Thread Hans-Peter Diettrich
FreeMan schrieb: ExLookUp1:=TExLookUp.Create(Form1); This is for manual creating, I'm talk about, I'm designing in IDE, 1-2 TExLookUp on form, and run my application, TExLookUp is class(TCustomEditButton) so Edit and button is shown on where I put on form, in designtime IDE. constructor