Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » ScrollBar in a composite(How to insert a scrollbar in a composite)
icon9.gif  ScrollBar in a composite [message #683242] Mon, 13 June 2011 10:21 Go to next message
Vins  is currently offline Vins Friend
Messages: 3
Registered: April 2011
Junior Member
I'm creating an eclipse plugin.
In the wizard I've a composite and I need insert a ScrollBar...Can anyone help me?
Please it is very important... Sad
Re: ScrollBar in a composite [message #684588 is a reply to message #683242] Wed, 15 June 2011 21:30 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
When you create the composite you can add flags which will enable horizontal and vertical scrollbars as follows.

Composite composite = new Composite(parent, SWT.H_SCROLL | SWT.V_SCROLL);

This is not the best forum for asking SWT questions but that was an easy one.
Previous Topic:How to use org.eclipse.ui.decorators location=REPLACE?
Next Topic:(no subject)
Goto Forum:

Current Time: Wed Jun 20 02:23:34 GMT 2018

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

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

Back to the top