Page 1 of 1
Customize LC system fonts?
Posted: Sat Sep 26, 2020 4:01 pm
by mluka
Hi all.
If you look at the "Text" tab of just about any object Inspector, you'll see, under the "Font" pulldown menu, these items: (Message), (Styled Text), (System), etc.
What are these used for? Can we customize them (in order to have a uniform look across a stack)? If so, how?
Thanks!
Re: Customize LC system fonts?
Posted: Sat Sep 26, 2020 6:53 pm
by richmond62
-
Code: Select all
on mouseDown
put the fontNames into me
sort lines of me ascending international
delete line 1 to 7 of me
end mouseDown
Re: Customize LC system fonts?
Posted: Sat Sep 26, 2020 8:07 pm
by FourthWorld
Those are directives to tell LC to use the OS-defined font and size for the type of control specified by the directive's name. These are specified by each OS vendor, and will vary from platform to platform.
Using these directives instead of a specific font name lets your app meet user expectations for consistency with everything else they use easily in just one setting, rather than older methods that required us to look up the OS specs and implement them with code that branches by platform.
You can learn more about working with fonts in the User Guide included with the install.
I'm not at a computer right now, but if you have any trouble finding the description of how to use those directives, or how to use any other font, let me know and I'll find that section of the docs when I'm back in my office.