unable to make a Link widget clickable [message #117315] |
Thu, 01 January 2009 00:26  |
Eclipse User |
|
|
|
Happy New Year!
I would like hyperlinked text to show up, with my app able to respond to
click events. When I create a Link widget, I have 3 problems:
(1) the text in the link does not look like a link
(2) the mouse pointer does not change to a hand on mouseover, as
traditional links do, and most importantly:
(3) the link does not seem to broadcase click events.
Here is a code snippet.
Link link = new Link(composite, SWT.NONE);
link.setToolTipText("Click to sort");
link.addSelectionListener(listener);
link.setText(displayName);
link.setData(columnName);
Clicking the link does not call my SelectionListener's widgetSelected()
nor widgetDefaultSelected() methods.
Thanks for any help!
David Donohue
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.25888 seconds