TableViewer displaying selection while not focus owner? [message #440049] |
Wed, 21 July 2004 20:08 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02850 seconds