Try something like this:

lp = new LoadPanel();
lp.setURL('file1.html');

ppanel= new PushPanel(lp)
ppanel.setVertical()
ppanel.setSize(150,150)
ppanel.moveTo(200,50)
ppanel.setBgColor('#c0c0c0')
DynAPI.document.addChild(ppanel)

You probaly want to capture the loadpanel's onload event to set the size of
the pushpanel.

Robert Rainwater
----- Original Message -----
From: "AT" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 03, 2001 4:59 PM
Subject: [Dynapi-Help] Pushpanel widget


> Hi all..
> Maybe this will seem obvious, but it's not much time since I began reading
> this list.
> I've downloaded the last snapshot of the DynAPI2, and I was trying to
> upgrade something I created with the DynAPI1.
> First thing I've noticed, the Pushpanel doesn't seem to allow loading
> content from a file. This being exactly what I need, I'd like to know
whether:
> a) I'm totally blind. It can, and I'm wrong.
> b) It could be done with some help from a loadpanel (how? anybody did it?
> some hints?);
> c) that's entirely another widget, and there's already someone working on
> it (who?).
>
> Thanx, anyway...
>
> TBlack
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/mailman/listinfo/dynapi-help


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

Reply via email to