> BUT when I try and do certain things in the
> constructor instead of precreate, they simply don't work.
could you post an example where it doesn't work?
___
Dynapi-Dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dyna
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'
> to avoid the problem described above i would suggest to move the
> flagPrecreate call outside out the create-methode into the addChild-method.
> addChild then would look like this:
>
> DynObject.prototype.addChild = function(c) {
> if(c.isChild) c.parent.removeChild(c);
> c.isChild = true;
am 20.9.2001 1:39 Uhr schrieb Adrian Kubala unter [EMAIL PROTECTED]:
> I've noticed that objects in a tree are precreated twice. First
> flagPrecreate traverses the tree doing precreation in post-order, then
> create does the same thing indirectly. Normally this doesn't cause
> problems but I'm w
I've noticed that objects in a tree are precreated twice. First
flagPrecreate traverses the tree doing precreation in post-order, then
create does the same thing indirectly. Normally this doesn't cause
problems but I'm working on a tree widget and it's causing wierd
problems.
So, can somebody tel