Hi,
Why don't you try adding the tree to the scrollWindow as content, instead of
with addChild.
check Christopher_Go_Examples:
http://www.richardinfo.com/?menu=examples&node=9

Cheers,
Richard Bennett

[EMAIL PROTECTED]
www.richardinfo.com
(Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2)
Find the DynAPI faq here:
http://sourceforge.net/docman/display_doc.php?docid=656&group_id=5757
Browse the mailinglist here:
http://www.mail-archive.com/index.php3?hunt=dynapi

----- Original Message -----
From: "GORTSILAS ANDREAS" <[EMAIL PROTECTED]>
To: "Dynapi-Help Mailing List (E-mail)" <[EMAIL PROTECTED]>
Sent: Friday, February 16, 2001 5:34 PM
Subject: [Dynapi-Help] ScrollPane ....


> When I expand the tree (and the nodes are not fit in the visible area of
> loadpane) the scrollbars does NOT show up!!!
>
> Can any-one explain this to me?
>
> .....
>     var oWin = new ScrollPane()
>     oWin.setVertVisible(true);
>     oWin.setSize(210, 110);
>     oWin.moveTo(10, 10);
>     var oTree = new TreeNode(null, 5, 5, 200, 100);
>     oTree.setCaption(sObj || 'Object')
>     for (var i in oObj){
>       oTree.add(i);
>     }
>     oWin.addChild(oTree);
>     oWin.setBgColor('#d3d3d3');
>     DynAPI.document.addChild(oWin);
> ......
>
> Thanks in advance
>
> Andreas Gortsilas
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
> ____________________________________________________________
> Get your free domain name and domain-based e-mail from
> Namezero.com. New!  Namezero Plus domains now available.
> Find out more at: http://www.namezero.com
>


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

Reply via email to