Re: [Lazarus] Accesing components in FormCreate event

2016-09-22 Thread Mattias Gaertner
On Thu, 22 Sep 2016 00:54:35 -0600 "Lars" wrote: >[...] > Prefer positive attitude of Yes, vs No. Inbetween Qbit state: maybe. I meant 'True'. > > Keep in mind that the LCL tries to create the Handle and layout after > > calling FormCreate. So changing properties do not

Re: [Lazarus] Accesing components in FormCreate event

2016-09-22 Thread Lars
On Thu, September 22, 2016 12:48 am, Mattias Gaertner wrote: >> No, formcreate is the correct event to set up new components. >> > > Yes. Prefer positive attitude of Yes, vs No. Inbetween Qbit state: maybe. > Keep in mind that the LCL tries to create the Handle and layout after > calling

Re: [Lazarus] Accesing components in FormCreate event

2016-09-22 Thread Mattias Gaertner
On Thu, 22 Sep 2016 07:36:45 +0200 (CEST) Michael Van Canneyt wrote: > On Wed, 21 Sep 2016, Lars wrote: > > > I'm trying to remember if setting up some values of components is okay to > > do in the form create event. From what I remember in Delphi days of > > programming

Re: [Lazarus] Accesing components in FormCreate event

2016-09-21 Thread Michael Van Canneyt
On Wed, 21 Sep 2016, Lars wrote: I'm trying to remember if setting up some values of components is okay to do in the form create event. From what I remember in Delphi days of programming years ago, I think I found out the hard way that setting up components in the FormCreate event was a bad