Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Scrolled Form(Scroll Bars not displayed /enabled in Scrolled Form)
Scrolled Form [message #753671] Fri, 28 October 2011 09:53
Santhosh Hari is currently offline Santhosh Hari
Messages: 21
Registered: March 2010
Junior Member
Hello all,

I m using a Scrolled form for my FormPage Implementation.Here when I expand the formPage to full screen then the scroll bars are not getting displayed.


I tried the following code:

@Override
protected void doCreateFormContent(final IManagedForm managedForm) {

final ScrolledForm form = managedForm.getForm();
// form.setAlwaysShowScrollBars(Boolean.TRUE);
// form.setExpandHorizontal(Boolean.TRUE);
// form.setExpandVertical(Boolean.TRUE);
form.setAlwaysShowScrollBars(Boolean.TRUE);
}

Here even when I set SetAlwaysScrollBars to True , when form gets expanded the scroll bars get disabled. When the page is minimized to a particular size then the scroll bars are visible, but I require scroll bars when the page is relatively bigger than the minimized screen.

Pls pour in your valuable suggestions.

Thanks,
Santhosh

[Updated on: Fri, 28 October 2011 13:31]

Report message to a moderator

Previous Topic:Disabling Treeviewer doubleclick expand/collapse
Next Topic:List folders and files with Tree/TreeView with JFace
Goto Forum:
  


Current Time: Wed Oct 01 06:02:30 GMT 2014

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

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