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 06:21 Go to next message
Vins  is currently offline Vins
Messages: 3
Registered: April 2011
Junior Member
Hi,
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
Thanks
Re: ScrollBar in a composite [message #684588 is a reply to message #683242] Wed, 15 June 2011 17:30 Go to previous message
Chris Goldthorpe is currently offline Chris Goldthorpe
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:Turn OFF DEBUG org.mortbay.log???
Next Topic:(no subject)
Goto Forum:
  


Current Time: Thu Aug 28 09:15:44 EDT 2014

Powered by FUDForum. Page generated in 0.02255 seconds