Michael Buerge ([EMAIL PROTECTED]) wrote:
> to avoid the problem described above i would suggest to move the
> flagPrecreate call outside out the create-methode into the addChild-method.

Unfortunately this isn't a complete solution because the children will
never get precreated if the parent isn't created first. But I think
that's the right direction, I'll think some more about it.

> i never use the 'precreate'-Events, because the same effect can be achieved
> much more simpler.

That's exactly what I thought; I posted a message to dynapi-help asking
why precreate even existed. BUT when I try and do certain things in the
constructor instead of precreate, they simply don't work. It will take
much more time to pinpoint the cause, but I believe it has to do with
the fact that certain methods like setHTML can't work before creation
has been initiated.

-Adrian

PGP signature

Reply via email to