Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Table and row index
Table and row index [message #453228] Fri, 01 April 2005 12:31 Go to next message
Eclipse UserFriend
Originally posted by: eyecanseeyou.free.fr

Hello,

In the Table object there are methods "getItem(Point)" and "getItem(index)".
But is there a way to convert a Point to row index ?

Thanks.
Re: Table and row index [message #453232 is a reply to message #453228] Fri, 01 April 2005 12:55 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Use getItem(Point) then use Table.indexOf(TableItem).

"eyecanseeyou" <eyecanseeyou@free.fr> wrote in message
news:d2jf2g$1u8$1@news.eclipse.org...
> Hello,
>
> In the Table object there are methods "getItem(Point)" and
"getItem(index)".
> But is there a way to convert a Point to row index ?
>
> Thanks.
Re: Table and row index [message #453234 is a reply to message #453232] Fri, 01 April 2005 14:52 Go to previous message
Eclipse UserFriend
Originally posted by: eyecanseeyou.free.fr

Great ! Thank you very much.


Steve Northover wrote:
> Use getItem(Point) then use Table.indexOf(TableItem).
>
> "eyecanseeyou" <eyecanseeyou@free.fr> wrote in message
> news:d2jf2g$1u8$1@news.eclipse.org...
>
>>Hello,
>>
>>In the Table object there are methods "getItem(Point)" and
>
> "getItem(index)".
>
>>But is there a way to convert a Point to row index ?
>>
>>Thanks.
>
>
>
Previous Topic:a COmposite with a Canvas on top of a OleFrame
Next Topic:List Viewer and Label Provider
Goto Forum:
  


Current Time: Tue Jul 16 08:39:36 GMT 2019

Powered by FUDForum. Page generated in 0.01847 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top