Support Forum

Ask questions and get help from MobileTogether experts.
MobileTogether Product Information
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Robot Ric  
#1 Posted : Saturday, September 28, 2019 9:33:22 PM(UTC)
Robot Ric

Rank: Newbie

Groups: Registered
Joined: 9/28/2019(UTC)
Posts: 3
United Kingdom
Location: North Yorkshire

Just started with MobileTogether and I cannot get multiline edit fields to work. I worked through the first online tutorial and got that working. Then I wanted to make the one-and-only edit field present multiline. I found the Multiline property and set that to true, but that doesn't work - still only one line. In the manual I found "If this property is set to true, and if the Text Size Auto-Fit property is not enabled, then the text will not wrap ...".

Where can I find the "Text Size Auto-Fit" property? I have found "Text Size". Is "Auto-Fit" a property of "Text Size"? If not then is there something fundamental that I am missing?
bbv  
#2 Posted : Monday, September 30, 2019 7:50:49 AM(UTC)
bbv

Rank: Administration

Groups: Registered, Administrators
Joined: 7/21/2014(UTC)
Posts: 397

Was thanked: 66 time(s) in 66 post(s)
There is some misunderstanding - you don't need the Test Size Auto-Fit property. All is needed is to set Multiline to true as you did. What do you mean it doesnt' work?
Robot Ric  
#3 Posted : Monday, September 30, 2019 8:39:50 AM(UTC)
Robot Ric

Rank: Newbie

Groups: Registered
Joined: 9/28/2019(UTC)
Posts: 3
United Kingdom
Location: North Yorkshire

What happens is that when I set MultiLine to true, and then run my program, the edit field looks exactly the same. When I type something in and it reaches the rhs of the control it does not wrap the text, or scroll up, and pressing return does not start a new line.
bbv  
#4 Posted : Monday, September 30, 2019 10:24:47 AM(UTC)
bbv

Rank: Administration

Groups: Registered, Administrators
Joined: 7/21/2014(UTC)
Posts: 397

Was thanked: 66 time(s) in 66 post(s)
This makes no sense - multiline text fields are a very common feature and work everywhere. Can you send a sample please? Also, which Designer version are you using?
Robot Ric  
#5 Posted : Monday, September 30, 2019 9:41:31 PM(UTC)
Robot Ric

Rank: Newbie

Groups: Registered
Joined: 9/28/2019(UTC)
Posts: 3
United Kingdom
Location: North Yorkshire

OK. I have attached a sample. You can see in the XML that MultiLine is set to 1 (meaning true I suppose). I am using designer version 5.4.
File Attachment(s):
Tutorial1.mtd (5kb) downloaded 4 time(s).
MIP  
#6 Posted : Tuesday, October 1, 2019 6:26:26 AM(UTC)
MIP

Rank: Newbie

Groups: Registered
Joined: 7/22/2019(UTC)
Posts: 2
Austria
Location: Vienna

Hi,

please set multiline to true for the label as well. Otherwise you'll have multiline text editable but you display it in a single line in the label.

The multi line edit field itself works fine for me in your sample. Also with wrapping.
If you want to manually add a newline please remember to use ctrl+return.

best regards
Users browsing this topic
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.