all groups > flash actionscript > june 2005 >
You're in the

flash actionscript

group:

Tree Component


Tree Component Scott Filloon
6/28/2005 2:54:38 PM
flash actionscript:
Does anyone know if there is a way to make the place holder for the scroll
bar go away when using the tree component? My tree menu is so small it will
probably never need to scroll.

Thanks,

Scott

Re: Tree Component twoei22
7/6/2005 1:27:45 AM
Hi,

you can use:

myTree.hScrollPolicy = "off";
myTree.vScrollPolicy = "off";

that will remove both horizontal and vertical scrolling..

or you can use:

myTree.hScrollPolicy = "auto";
myTree.vScrollPolicy = "auto";

that will only add the scrollbars if needed.


AddThis Social Bookmark Button