Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Auto scrollbar on text area
Auto scrollbar on text area [message #457345] Thu, 23 June 2005 13:41 Go to next message
Eclipse UserFriend
Originally posted by: maqish.gmail.com

Hello,

is it possible to set an autoscrollbar instead of the SWT.H_SCROLL and
SWT.V_SCROLL i do not want the scrollbar to be visible unless i need one.

Greetings Marc Bannink
Re: Auto scrollbar on text area [message #457430 is a reply to message #457345] Fri, 24 June 2005 15:31 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Scroll bar display policy is platform (and widget) specific.

"Maqish" <maqish@gmail.com> wrote in message
news:d9ee77$ftm$1@news.eclipse.org...
> Hello,
>
> is it possible to set an autoscrollbar instead of the SWT.H_SCROLL and
> SWT.V_SCROLL i do not want the scrollbar to be visible unless i need one.
>
> Greetings Marc Bannink
Re: Auto scrollbar on text area [message #458249 is a reply to message #457345] Mon, 11 July 2005 23:47 Go to previous message
Chris is currently offline ChrisFriend
Messages: 17
Registered: July 2009
Junior Member
Maqish wrote:

> Hello,

> is it possible to set an autoscrollbar instead of the SWT.H_SCROLL and
> SWT.V_SCROLL i do not want the scrollbar to be visible unless i need one.

> Greetings Marc Bannink

You can put a modify listener on the text and whenever the number of lines
in the text hits your required amount set the vertical scrollbar to
visible, otherwise turn off its visibility.
Previous Topic:jdk 1.5.0
Next Topic:TableEditor
Goto Forum:
  


Current Time: Thu Apr 25 16:04:20 GMT 2024

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

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

Back to the top