Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to embad hyperlink inside label in Form?
How to embad hyperlink inside label in Form? [message #508699] Tue, 19 January 2010 21:54 Go to next message
Charles Li is currently offline Charles Li
Messages: 16
Registered: December 2009
Junior Member
I know how to create hyperlink and label using FormToolKit and display them separately on an Eclipse form. How do I mix them in one line, something like "Press here to show" where "here" is link while the rest is static label?

Thanks a lot in advance for your help!
Re: How to embad hyperlink inside label in Form? [message #508771 is a reply to message #508699] Wed, 20 January 2010 09:34 Go to previous messageGo to next message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
Charles Li wrote:
> I know how to create hyperlink and label using FormToolKit and display
> them separately on an Eclipse form. How do I mix them in one line,
> something like "Press here to show" where "here" is link while the
> rest is static label?
Not sure how you do it in FromToolKit but you can easily do it with the
SWT Link widget.

Dani
>
> Thanks a lot in advance for your help!
Re: How to embad hyperlink inside label in Form? [message #508869 is a reply to message #508771] Wed, 20 January 2010 10:32 Go to previous message
Grant Gayed is currently offline Grant Gayed
Messages: 2151
Registered: July 2009
Senior Member
For an example of using swt's Link see
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org. eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet183 .java .
Perhaps you do something similar when using FormToolKit to create a link
containing some regular text?

Grant


"Daniel Megert" <daniel_megert@ch.ibm.com> wrote in message
news:hj6in3$6mp$1@build.eclipse.org...
> Charles Li wrote:
> > I know how to create hyperlink and label using FormToolKit and display
> > them separately on an Eclipse form. How do I mix them in one line,
> > something like "Press here to show" where "here" is link while the
> > rest is static label?
> Not sure how you do it in FromToolKit but you can easily do it with the
> SWT Link widget.
>
> Dani
> >
> > Thanks a lot in advance for your help!
Previous Topic:coolbar button mouseover state issue
Next Topic:Adding "Installed features" functionality
Goto Forum:
  


Current Time: Wed Oct 22 23:16:20 GMT 2014

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

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