how to showing vertical scrollbar thumb when swt text contol size is increase?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yatinbvn
    New Member
    • Dec 2009
    • 3

    how to showing vertical scrollbar thumb when swt text contol size is increase?

    hi , my name is yatin

    i have creating swt text with vertical scroll bar in shell, my question is:

    vertical scroll bar thumb is still visible in swt text when its size is not increase , i want to showing that thumbs when size of swt text is increase ?

    my code is below

    import org.eclipse.erc p.swt.*;
    .
    .
    ..
    .
    ...
    class{
    .
    .
    .
    .
    .
    MobileShell chapternotesshe ll = new MobileShell(Dis play.getCurrent (), SWT.MAX);

    chapternotesshe ll.setLayout(ne w FillLayout(SWT. VERTICAL));

    Text chaptertextnote s = new Text(chapternot esshell,SWT.BOR DER|SWT.MULTI|S WT.RESIZE|SWT.V _SCROLL);

    chaptertextnote s.setText("");
    chaptertextnote s.setSelection( 0);

    chapternotesshe ll.layout(true) ;
    chapternotesshe ll.open();
    chapternotesshe ll.setActive();

    }
Working...