Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Image and Hyperlink
Image and Hyperlink [message #1712733] Tue, 27 October 2015 18:15 Go to next message
Dmitry Dukhov is currently offline Dmitry DukhovFriend
Messages: 192
Registered: February 2013
Senior Member
stupid question but

Label labelLogo = new Label(grp, SWT.NONE);
labelLogo.setData( RWT.MARKUP_ENABLED, Boolean.TRUE );
labelLogo.setImage(ShopImage.getImage("logoStorware"));

How to add hyperlink to image?

Dmitry
Re: Image and Hyperlink [message #1712773 is a reply to message #1712733] Wed, 28 October 2015 08:09 Go to previous message
Aleksander   is currently offline Aleksander Friend
Messages: 44
Registered: May 2014
Location: France
Member
swt Label cannot display Image AND text. You have to use CLabel. Then with markup you put your text between <a> tags. Another method is to put your image into the text markup with a ressource manager.

[Updated on: Wed, 28 October 2015 08:09]

Report message to a moderator

Previous Topic:How to open a messagedialog in a RAP application
Next Topic:[ANN] Updated Service Release: 3.0 SR1a
Goto Forum:
  


Current Time: Sat Apr 27 01:54:55 GMT 2024

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

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

Back to the top