Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Scrollable Form not scrollable
Scrollable Form not scrollable [message #461730] Wed, 28 September 2005 18:46
Eclipse UserFriend
Originally posted by: mcheng.cisco.com

Hi,

I created a ScrolledForm in the createFormContent() in a form class derived
from FormPage. I then do the followings:

FormToolkit toolkit = managedForm.getToolkit();
ScrolledForm form = managedForm.getForm();
form.setAlwaysShowScrollBars(true);
form.setExpandHorizontal(true);
form.setExpandVertical(true);
Composite composite = form.getBody();
composite.setLayout(new GridLayout());

Then added sections and other widgets into the composite. The
horizonal/vertical toolbar were disabled but visible even though the
contents is bigger than the screen.

What else do I need to do to enable horizontal and vertical scroll bar in
the ScrolledForm?


Thanks,
Mike
Previous Topic:No mouseListener in SWT Browser
Next Topic:Force Shell Focus
Goto Forum:
  


Current Time: Sat Apr 20 01:57:22 GMT 2024

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

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

Back to the top