×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Nov 2009
    Posts
    52

    Smile vertical scrollbar in swt Text

    hi i am yatin
    i am using eswt api for developing j2me application

    my question is:
    i am creating one TextExtension in mobileshell
    my code relating above point is :

    import org.eclipse.ercp.swt.mobile.TextExtension;
    import org.eclipse.ercp.swt.mobile.MobileShell;
    .
    ..
    .
    ...

    MobileShell chapternotesshell = new MobileShell(Display.getCurrent(), SWT.MAX);
    TextExtension chaptertextnotes = new TextExtension(chapternotesshell,SWT.BORDER|SWT.MULTI|SWT.RESIZE|SWT.V_SCROLL,TextExtension.NON_PREDICTIVE);


    when i run my apps vertical scroll-bar is visible in TextExtension , i know very well it is happen because of the "SWT.V_SCROLL" this property in TextExtension, but my question is that when user entering more text line in TextExtension at that time TextExtension size is increase when it cross its limited height of the mobile screen so how can i showing vertical scroll-bar when size of TextExtension is increase in mobile screen?

  2. #2
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Lightbulb Re: vertical scrollbar in swt Text

    YOU CAN DEFINE SCROLLABLE TEXT IN java ME.

    Scrollable text in Java ME.

    Best regards,

Similar Threads

  1. CEikRichTextEditor - Vertical scrollbar width
    By c0107010 in forum Symbian
    Replies: 4
    Last Post: 2009-12-23, 13:51
  2. Rotate dynamic text box
    By narender_raul in forum [Archived] Flash Lite on Nokia Devices
    Replies: 2
    Last Post: 2008-12-05, 18:21
  3. vertical text box
    By l1q1d in forum Symbian
    Replies: 4
    Last Post: 2007-07-02, 13:51
  4. Is drawing wordwrapped vertical text possible ?
    By kester76 in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2006-10-28, 20:52
  5. Replies: 0
    Last Post: 2004-11-24, 18:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •