[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: ScrollBar in Table/List

Thats not what i want. I want a generic scrolling, every control inherited from Scrollable should be scrolled in that way. (setSelection()).

Is that possible?


Tom Schindl schrieb:
Hi,

tables are scrolled using
- table#setTopIndex(int)
- table#setSelection(*);
- table#showSelection();

Tom

Stefan Steineer schrieb:
Hy,

I tried to scroll a scrollbar in a table or list with the code:
"getVerticalBar.setSelection(...)".
The problem is, that the table does not redraw itself to the current
position of the scrollBar. The same works perfectly in a Canvas.

Is there any possibility to do that?


Thanks.