[Lazarus] Accessing components in FormCreate event

Luca Olivetti luca at wetron.es
Thu Sep 22 09:13:09 CEST 2016


El 22/09/16 a les 08:47, Lars ha escrit:

>
> However these may be issues with formcreate that are not related to the
> bugs I have come across. I'm trying to remember what exactly was the
> problem that I had in FormCreate, but can't remember


I don't remember exactly, but the size of the component isn't the final 
one (depending on align, anchors or autosize, as I said I don't remeber 
the details) until the FormShow, so if you need them to initialize other 
components you have to wait.

Bye
-- 
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007


More information about the Lazarus mailing list