|How to scroll down the vertical bar? [message #512765]
||Sun, 07 February 2010 11:51
Registered: July 2009
I need to scroll down the vertical bar (of a table and tree) to the last row programmatically. I use this:
// before add an element on a tree or table
vb.notifyListeners(SWT.Selection, new Event());
I've tried without success with:
vb.setSelection(vb.getMaximum() + vb.getIncrement());
Actually scroll happens tho not to the last line but until the row before the last.
Have you any idea?
Powered by FUDForum
. Page generated in 0.02154 seconds