Font used in gadgets?

BlitzPlus Forums/BlitzPlus Programming/Font used in gadgets?

WolRon(Posted 2004) [#1]
What determines the font used to display the text on gadgets?

For example, if I type in this code:
StartButton = CreateButton("Start", 100, 0, 100, 40, window) 
what determines the font used to write the word "Start"?

Can it be changed? Is it dependent on the OS?

Will it ever change?


Eikon(Posted 2004) [#2]
Here you go
http://www.blitzbasic.com/bpdocs/command.php?name=SetGadgetFont&ref=gui_cat


WolRon(Posted 2004) [#3]
Thanks for clearing that up. Now what font (and size) is the standard font used if no font is loaded?


Rottbott(Posted 2004) [#4]
Whatever the user has set in their Windows settings?


WolRon(Posted 2004) [#5]
Any other guesses? :)


Eikon(Posted 2004) [#6]
Microsoft Sans Serif 8?


Regular K(Posted 2004) [#7]
Trebuchet MS 10 or Tahoma 8

Check by right-clicking your desktop clicking Properties then clicking on the Appearance tab at the top and searching through there.


_PJ_(Posted 2015) [#8]
9pt Segoe UI is default now I think?

These can all be identified from the current theme file.

Later Windows versions have severely restricted access to changing some of the settings individually.