1 Reply Latest reply on Jul 23, 2007 4:23 AM by Martian25

    Force Vertical Scrollbar to Bottom

    BerubeS
      Hey all;
      I have a vbox that has a vertical scrollbar. I am dynamically adding text nodes to it and would like to force the scrollbar to the bottom position.

      I tried this:
      cvStatusText.verticalScrollPosition = cvStatusText.maxVerticalScrollPosition;

      No luck. Any ideas?



        • 1. Re: Force Vertical Scrollbar to Bottom
          Martian25
          The post is a bit old, but for the benefit of others who might stumble upon the same issue, try calling the scrollChildren() method right after setting the verticalScrollPosition property:

          cvStatusText.verticalScrollPosition = cvStatusText.maxVerticalScrollPosition;
          cbStatusText.scrollChildren();