Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » TableViewer displaying selection while not focus owner?
TableViewer displaying selection while not focus owner? [message #440049] Wed, 21 July 2004 20:08
Eclipse UserFriend
Originally posted by: jeb.swym.net

Hi,

I am new to SWT/JFace and did run into my first problem now: I need to
display a a number of objects in a TableViewer (no problem so far) and
need to indicate which objects are selected while the Table is not in
focus, i.e. the selection is generated programmatically from text that is
entered in other controls.

I use select(index) on the underlying Table control but all that happens
is that if the selection is on one of the gray lines
(setLinesVisible(true)) it is displayed with white background as well. If
the TableViewer gains focus the selection is displayed correctly.

The TableViewer was NOT created with SWT.HIDE_SELECTION.

What am I doing wrong?

Thanks for any help and aplogies if this is a completly daft newbie
question.

Jens
Previous Topic:Menu Problems with Eclipse 3.0 and Max OSX 10.4 (Tiger prerelease)
Next Topic:Use '&' in widget title... NOT mnemonic
Goto Forum:
  


Current Time: Thu Apr 25 23:24:18 GMT 2024

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

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

Back to the top