[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Selecting image vs. text in tree or table

Users expect trees and tables to have the native selection characterstics
and don't expect different things to happen depending on whether the image
or the text is selected.

"Veronika Irvine" <veronika_irvine@xxxxxxx> wrote in message
news:csk3l0$654$1@xxxxxxxxxxxxxxxxxx
> Use getImageBounds(int) (returns bounds of image) and getBounds(int)
> (returns bounds of image plus text) to determine where the click occurred.
>
> "Mia Stern" <mia_stern@xxxxxxxxxx> wrote in message
> news:csjsjf$vmq$1@xxxxxxxxxxxxxxxxxx
> > Hi-
> >
> > Is it possible to determine if a click has occurred on the image vs. the
> > text in a Tree (or Table) Viewer?  I'd like to implement different
> > behavior depending on what was actually clicked.
> >
> > Thanks,
> > - Mia
> >
>
>