Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » adding a scroll to a group in swt.
adding a scroll to a group in swt. [message #276408] Tue, 23 November 2004 05:28 Go to next message
Eclipse UserFriend
Originally posted by: manohar.babu.gxs.com

Hi All,

I am struck with a small problem.

I have a swt group, to this I added 10 text boxes. when the range goes out
of the size of the group , the remaning text boxes are not visible. I am
not able to add the scroll bar ,so that I can scroll.

Can some body help me on this

thanks in advance
Manohar
Re: adding a scroll to a group in swt. [message #276418 is a reply to message #276408] Tue, 23 November 2004 09:28 Go to previous message
Eclipse UserFriend
Manohar,

You probably want to put a ScrolledComposite within your Group, and add
your Texts to the ScrolledComposite. For an example of using
ScrolledComposite see
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet5.java?rev=HEAD&am p;content-type=text/vnd.viewcvs-markup .

Grant

"Manohar" <manohar.babu@gxs.com> wrote in message
news:cnv3d3$7ov$1@www.eclipse.org...
> Hi All,
>
> I am struck with a small problem.
>
> I have a swt group, to this I added 10 text boxes. when the range goes out
> of the size of the group , the remaning text boxes are not visible. I am
> not able to add the scroll bar ,so that I can scroll.
>
> Can some body help me on this
>
> thanks in advance
> Manohar
>
Previous Topic:Run JUnit tests programmatically
Next Topic:change the background color
Goto Forum:
  


Current Time: Thu Aug 21 20:47:17 EDT 2025

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

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

Back to the top