Page 1 of 1
fonts, borders, opaque with multiline
Posted: Sun Oct 25, 2015 1:38 pm
by teacherguy
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"
Re: fonts, borders, opaque with multiline
Posted: Sun Oct 25, 2015 1:57 pm
by teacherguy
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.
Re: fonts, borders, opaque with multiline
Posted: Sun Oct 25, 2015 8:24 pm
by quailcreek
Hi,
Look at the dictionary and you'll find that multiline does not allow setting the border property.
Re: fonts, borders, opaque with multiline
Posted: Sun Oct 25, 2015 8:37 pm
by teacherguy
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!
I'm guessing the same is true for autoclear, clearbuttonmode, and opaque.
Re: fonts, borders, opaque with multiline
Posted: Sun Oct 25, 2015 8:42 pm
by quailcreek
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.
Re: fonts, borders, opaque with multiline
Posted: Sun Oct 25, 2015 8:47 pm
by teacherguy
I understand now. I was interpreting those as additional properties. Thanks for setting me straight.