fonts, borders, opaque with multiline
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
fonts, borders, opaque with multiline
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"
For example:
iphoneControlSet "roster1", "fontName", "Avenir-Black"
No effect.
Same for:
iphoneControlSet "roster1", "borderStyle", "line"
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Re: fonts, borders, opaque with multiline
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.
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.
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
Re: fonts, borders, opaque with multiline
Hi,
Look at the dictionary and you'll find that multiline does not allow setting the border property.
Look at the dictionary and you'll find that multiline does not allow setting the border property.
Tom
MacBook Pro OS Mojave 10.14
MacBook Pro OS Mojave 10.14
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Re: fonts, borders, opaque with multiline
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.

I'm guessing the same is true for autoclear, clearbuttonmode, and opaque.
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
Re: fonts, borders, opaque with multiline
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
MacBook Pro OS Mojave 10.14
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Re: fonts, borders, opaque with multiline
I understand now. I was interpreting those as additional properties. Thanks for setting me straight.