I don't believe you are supposed to be able to pass the same object to two
places
----- Original Message -----
From: "Colin Thompson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 12, 2001 7:28 AM
Subject: [Dynapi-Help] having a problem with labels


> Hi all,
>
> I need to set a viewport and a pushpanel to display the contents of a
label.
> the problem is I can only add the label to one thing at a time. Do I have
to
> make a duplicate label? or is there another way round it?
>
> example
>
> label1 = new Label('some html');
>
> pushpanel = new PushPanel(label1);
> viewport = new ViewPort(label1);
>
> this kills NS 4 and refuses to render with IE. I know it's because I'm
> adding the same object twice, but can't figure another way to do it.
>
> (btw, this is a problem for the pushpanel example - try adding the same
> label to both pushpanels)
>
>
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dynapi-help
>


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to