facebook

How to create a scrollbar: CLOSED

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #328004 Reply

    apoetz
    Member

    Moved from Examples, HOW-TOs forum by support-octavio
    Hi there,

    I am using the most recent version of MobiOne (I downloaded it June 2012). I am creating an app in landscape orientation, which requires a scrollbar for some of the screens because there is a lot of text.

    I have tried everything – I put a transparent panel over the text boxes on the screen – placed it at the top, at the back, changed the height settings, and tried every possible combination of the options available (e.g. I checked and unchecked the boxes called “scroll background” and “bounce effect” and it doesn’t fix the problem).

    Can you please send step-by-step instructions for creating a scrollbar on a screen where I have multiple stacked textboxes?

    Thank you in advance,

    #328009 Reply

    Hi apoetz,

    Did you tried adding all your widgets in the transparent panel to achieve your desired design?

    #328010 Reply

    Unknown Author
    Participant

    Maybe stupid question: have you put the text boxes IN the panel – not just under it?

    #328038 Reply

    apoetz
    Member

    Hi again, thank you both for your help. I re-did it and placed all the widgets inside the transparent panel, and the text at the bottom of the window appears cut off when I try to scroll down. I have incrementally increased the panel height to 540 (and this is the “height” on a landscape oriented iPod app – so really the width of an iPod) and it doesn’t seem to help.

    I have no idea what the “bounce” is supposed to do, or “scroll background” – it doesn’t seem to make a difference when I turn them on/off…?

    Could someone please walk me through step-by-step how to put in a scrollbar, so that I can figure out what I am doing wrong?

    Thanks in advance!

    #328040 Reply

    Unknown Author
    Participant

    Keep increasing the panel height. If you don’t know the size of your content, then increase it to some large number like 2000 or 3000, then decrease it to fit your content.

    -1TC

    #328054 Reply

    apoetz
    Member

    Thank you – it didn’t work though. Wondering if you could please have a look at the file I am attaching, and tell me what I’m doing wrong?

    Attachments:
    You must be logged in to view attached files.
    #328063 Reply

    Hi apoetz,

    I review your project and I think you didn’t see the scrollbar, notice in my attached image that the scrollbar is shown when the panel is selected in the Outline View. Also I noticed that you are using textfields to show the text, that doesn’t allow to scroll the page because the textfield gets the focus. Please try with the Text Widget.

    See attachment scrollbar.png

    Attachments:
    You must be logged in to view attached files.
    #328093 Reply

    apoetz
    Member

    Thank you for your reply…I did see the scrollbar, it just didn’t function the way it was supposed to when I was testing it. Thanks also for the tip on using a text widget instead of a text field…I ended up using the text field because it allows the text to wrap automatically, whereas the text widget does not…the text goes off the right hand side and gets cut off.

    How would you suggest I use the text widget AND get the text to wrap? Thank you for all your help 🙂

    #328096 Reply

    Hi,

    Please see the next example about Replace long wrapping text and let me know if is helpful for you.

    http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=2459

    #328180 Reply

    apoetz
    Member

    It worked – I figured it out and got it working. Thank you everyone for your help!

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: How to create a scrollbar: CLOSED

You must be logged in to post in the forum log in