[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: Programatically scroll a Tree or Table

Hi,

I think the only possibility is to use

Table#setTopIndex(int);
Tree#setTopItem(Item);

Tom

deam schrieb:
> Hi,
> 
> I just want to know if there is a simple way to scroll a Composite such
> as Tree or Table from code. I know it's possible for Canvas by calling
> the srcoll() method or for ScrolledComposite calling the setOrigin() one.
> I would like a comparable behavior for my Tree.
> 
> Thanks for any help.
> 
> 
>