Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » scrolling
scrolling [message #460930] Mon, 12 September 2005 08:50 Go to next message
Jan Henke is currently offline Jan HenkeFriend
Messages: 2
Registered: July 2009
Junior Member
hi,

i've placed some controls inside a scrollable but i cannot scroll them.
does somebody have an idea what i could have done wrong?

...
Composite inputArea = new Composite((Composite) dialogArea, SWT.V_SCROLL);
Text text = new Text(inputArea, SWT.SINGLE | SWT.BORDER);
...

best regards
jan
Re: scrolling [message #460931 is a reply to message #460930] Mon, 12 September 2005 10:08 Go to previous message
arne anka is currently offline arne ankaFriend
Messages: 133
Registered: July 2009
Senior Member
use a ScrolledComposite and set your content to scroll on a Composite
inside.
see
http://www.java2s.com/ExampleCode/SWT-JFace-Eclipse/Demonstr atesScrolledComposite.htm

regards
Previous Topic:Setting the Button Background
Next Topic:Tooltip for a table column
Goto Forum:
  


Current Time: Wed Aug 21 00:21:29 GMT 2019

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

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

Back to the top