Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » how to remove blinking cursor in StyledText widget
how to remove blinking cursor in StyledText widget [message #445136] Tue, 26 October 2004 15:25 Go to next message
Andreas Niemeyer is currently offline Andreas NiemeyerFriend
Messages: 40
Registered: July 2009
Member
Hi,

is it possible to remove the blinking cursor of the StyledText widget?

It should not be editable if the property is set to false?!

pLink = new StyledText(vShell, SWT.BORDER);
pLink.setText("http://www.google.de/");
pLink.setEditable(false);


Regards,
Andreas
Re: how to remove blinking cursor in StyledText widget [message #445140 is a reply to message #445136] Tue, 26 October 2004 17:56 Go to previous message
Benjamin Pasero is currently offline Benjamin PaseroFriend
Messages: 337
Registered: July 2009
Senior Member
Try setCaret(null)

> Hi,

> is it possible to remove the blinking cursor of the StyledText widget?

> It should not be editable if the property is set to false?!

> pLink = new StyledText(vShell, SWT.BORDER);
> pLink.setText("http://www.google.de/");
> pLink.setEditable(false);


> Regards,
> Andreas
Previous Topic:Getting data out of TableTree(Viewer)
Next Topic:Focusable CLabel
Goto Forum:
  


Current Time: Thu Apr 25 05:46:22 GMT 2024

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

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

Back to the top