Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » how to re-set style of Text
how to re-set style of Text [message #460775] Wed, 07 September 2005 02:51 Go to next message
Eclipse UserFriend
Originally posted by: murley.murley.murley

Hi,
Text object set the style at creation time. I want to change the style at
runtime, but i found that no such 'setStyle' method available, but
getStyle() exists.
Do anyone experience to reset the style?

Thanks
Re: how to re-set style of Text [message #460778 is a reply to message #460775] Wed, 07 September 2005 04:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gilbert.pilz.sbc-guesstherest.net

murley wrote:
> Hi,
> Text object set the style at creation time. I want to change the style at
> runtime, but i found that no such 'setStyle' method available, but
> getStyle() exists.
> Do anyone experience to reset the style?
>
> Thanks

Try using the org.eclipse.swt.custom.StyledText class instead.

- g
Re: how to re-set style of Text [message #460782 is a reply to message #460778] Wed, 07 September 2005 06:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: murley.murley.murley

thanks for reply,
is that any other method can re-set the style instead of using StyledText..
Re: how to re-set style of Text [message #460801 is a reply to message #460782] Wed, 07 September 2005 10:57 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
No.
Re: how to re-set style of Text [message #460807 is a reply to message #460801] Wed, 07 September 2005 15:08 Go to previous message
Eclipse UserFriend
Originally posted by: murley.murley.murley

thanks.
Previous Topic:Does anybody know an Implementation for using DirectShow in SWT
Next Topic:editing node names in a tree using TreeViewer
Goto Forum:
  


Current Time: Mon Oct 23 19:14:59 GMT 2017

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

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