1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

Scrollable Textboxes

Discussion in 'Questions (Windows Mobile)' started by jgm, Jan 12, 2009.

  1. jgm

    jgm Member Licensed User

    I'm trying to use a form with just one MultiLine Textbox to provide some help text to other forms.
    The text needs to be scrolled because it does not fit in the normal window size.

    The Textbox is not intended for input; just for reading the help text; so I unchecked the Enable CheckBox for that TextBox.

    When I call that form from another, if the Textbox is enabled I can scroll the text in the box; but if the TextBox is not enabled I am not able to scroll the text.

    Is there a way to overcome this situation or a better way to provide help text.

  2. Cableguy

    Cableguy Expert Licensed User

    On the keypress event use ignorekeys..
    Do some search on the foeum, as this surelly has been adressed before...
  3. agraham

    agraham Expert Licensed User

    Might be worth a try but I don't what disabling the Textbox would do to it.
    "obj" is a Door library Object
    "WordWrap",  False)
    "ScrollBars",  "Both")
    "ReadOnly",  True)
    EDIT :- Added the ReadOonly property. Use any or all of the properties to suit. ReadOnly might mean that you need not disable the control but I haven't tried this.
    Last edited: Jan 12, 2009
  4. klaus

    klaus Expert Licensed User

    ReadOnly works well !

    Attached a small program I wrote some time ago to play with a TextBox control and the Door library. I just added the ReadOnly parameter.

    Best regards.

    Attached Files:

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice