Skip to first unread message

Kel Mohror

unread,
Sep 12, 2017, 3:24:58 PM9/12/17
to MIT App Inventor Forum
For an app that provides step-by-step directions for reaching a destination in a building, how many characters will a textBox hold for the steps?

For "boiler-plate" steps used in multiple destinations, would unique labels <joined> bet better than textBoxes?

Thanks for your insights!

Kel

SteveJG

unread,
Sep 12, 2017, 3:48:38 PM9/12/17
to MIT App Inventor Forum
Why  don't you just experiment?   An App Inventor Label can hold the contents of an entire novel as dragged into a  Text block.  Really.  400 pages of print text so whatever you need should be possible.

Just fill a text box with the maximum text you expect and see what happens.  Do you really mean a TextBox   or    a Label filled with a Text block text?

How about an example of what you mean by "For "boiler-plate" steps used in multiple destinations, would unique labels <joined> bet better than textBoxes?"
A picture of what you mean would help someone to provide an opinion.   What you do depends on what you want your App to do. 

A formatted Label can display like this:

Start
* turn left
* walk 100 paces
* turn right at the 'T' 

by using the \n command          Start\n * turn left\n*walk 100 paces\n*turn right at the 'T"

or it can display in colors if the html option for the label is checked.

Regards,
Steve

'

Abraham Getzler

unread,
Sep 15, 2017, 1:30:56 PM9/15/17
to MIT App Inventor Forum
I like List Pickers for multistep directions,
one item per step.

ABG

Kel Mohror

unread,
Sep 15, 2017, 1:55:37 PM9/15/17
to MIT App Inventor Forum
Excellent advice, Steve - Experiment! I must make that my mindset rather than depending on someone else's experience. "Boiler-plate steps" are steps every direction to a destination has until reaching a "fork in the road," where the steps become unique.

The formatted Label looks like a winner!

I will work your insights; thanks.

Kel

Kel Mohror

unread,
Sep 15, 2017, 2:04:00 PM9/15/17
to MIT App Inventor Forum
I will experiment with a LiskPicker, Abraham. Thanks!
Reply all
Reply to author
Forward
0 new messages