fonts, borders, opaque with multiline

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

fonts, borders, opaque with multiline

Post by teacherguy » Sun Oct 25, 2015 1:38 pm

Has anyone else been able to get different fonts, borders, and opaque (false) to work with multiline controllers? They don't seem to work for me.

For example:

iphoneControlSet "roster1", "fontName", "Avenir-Black"

No effect.

Same for:

iphoneControlSet "roster1", "borderStyle", "line"

teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

Re: fonts, borders, opaque with multiline

Post by teacherguy » Sun Oct 25, 2015 1:57 pm

Figured something out: If you are grabbing text from a field to display in the controller, for example:

iphoneControlSet "roster1", "text", field "names"

And that field is empty, subsequent font name settings will not take effect after the user begins to type. But if there is already text in the field, OR you load text into the control initially, for example:

iphoneControlSet "roster1", "text", "Paste or type roster here"

then my font settings take effect as expected.

Still no progress on getting a border to show, or for the multiline to be transparent.

quailcreek
Posts: 746
Joined: Sun Feb 04, 2007 11:01 pm

Re: fonts, borders, opaque with multiline

Post by quailcreek » Sun Oct 25, 2015 8:24 pm

Hi,
Look at the dictionary and you'll find that multiline does not allow setting the border property.
Tom
MacBook Pro OS Mojave 10.14

teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

Re: fonts, borders, opaque with multiline

Post by teacherguy » Sun Oct 25, 2015 8:37 pm

Thanks quailcreek, I just looked again and don't see that disclaimer under "multiline" or under "iPhoneControlSet", but since I can't get it working I agree! :D

I'm guessing the same is true for autoclear, clearbuttonmode, and opaque.

quailcreek
Posts: 746
Joined: Sun Feb 04, 2007 11:01 pm

Re: fonts, borders, opaque with multiline

Post by quailcreek » Sun Oct 25, 2015 8:42 pm

There is no disclaimer. Just border is not listed under multiline. Look all the way at the bottom under iPhoneControlSet or mobileControlSet for the multiline list.
Tom
MacBook Pro OS Mojave 10.14

teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

Re: fonts, borders, opaque with multiline

Post by teacherguy » Sun Oct 25, 2015 8:47 pm

I understand now. I was interpreting those as additional properties. Thanks for setting me straight.

Post Reply