Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » StyledText(ScrollBars problem)
StyledText(ScrollBars problem) [message #461769] Thu, 29 September 2005 20:16 Go to next message
Eclipse UserFriend
Originally posted by: aero85.inbox.ru

Hi!
I have created StyledText in this way:
loggingArea=new StyledText(leftPanel, SWT.BORDER |SWT.H_SCROLL | SWT.MULTI
|SWT.V_SCROLL);
There is no text after creation. So I do not need scrollbar at the moment.
But I have a disabled vertical scrollbar.
Is there any way to hide this scorollbar( similarly as option
VERTICAL_SCROLLBAR_AS_NEEDED in Swing library )
Alexey
Re: StyledText(ScrollBars problem) [message #462018 is a reply to message #461769] Wed, 05 October 2005 01:47 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Scroll bar display policy is up to the control. You can't change it unless
the control provides API to do it.

"Alexey Yerokhin" <aero85@inbox.ru> wrote in message
news:0d558781c9a87000620c804796767294$1@www.eclipse.org...
> Hi!
> I have created StyledText in this way:
> loggingArea=new StyledText(leftPanel, SWT.BORDER |SWT.H_SCROLL | SWT.MULTI
> |SWT.V_SCROLL);
> There is no text after creation. So I do not need scrollbar at the moment.
> But I have a disabled vertical scrollbar.
> Is there any way to hide this scorollbar( similarly as option
> VERTICAL_SCROLLBAR_AS_NEEDED in Swing library )
> Alexey
>
>
Previous Topic:Is subclass of Button possible?
Next Topic:TreeItem, background color, plus/minus sign
Goto Forum:
  


Current Time: Sat Apr 27 02:45:06 GMT 2024

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

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

Back to the top