On 11/25/2018 04:43 PM, Vojtěch Čihák via lazarus wrote:
Today I used tool qtconfig and changed style (Appearance) from Plastique
to QtCurve. Now my code crashes, order of events is:
FrmMain.Create
FrmMain.Activate
CRASH, because code in OnActivate assumes that FrmContext already exists.
So, Qt4+Plastique has different order of events than Qt4+QtCurve.
Unfortunately, I cannot reproduce with simple demo.
What I'm doing wrong? Do I rely on something that is not guaranteed?
Afaik not, that should work w/o problems. Never seen such kind of
problem with different themes. In any case, without example project I
cannot help.
zeljko
--
_______________________________________________
lazarus mailing list
[email protected]
https://lists.lazarus-ide.org/listinfo/lazarus