View Full Version : Get vertical Scroll bottom

6 Sep 2009, 8:50 PM
I have a tabItem that I add text to like a chat window and scroll to the bottom for the latest text.
How can I get the bottom scroll of the tab?

I've tried the following:

TabPanel tab= new TabPanel();
tab= new TabItem("A tab");

tab.setVScrollPosition(tab.getVScrollPosition()) // nothing: only gets the current position of v scroll

tab.setVScrollPosition(tab.getHeight()) //this works for awhile and then it stays at 117px