|
Previous Top Next |
Prototype: | (),Byte |
Returns | Returns True if the system is using larger than 100% fonts, false if it is not. |
This method uses a very simply formula to detect if the fonts used are larger than 100% i.e. using large fonts. It checks if the horizontal dialog units are more than 16 pixels wide. If so the return value is true otherwise it is false.
Example:
ITW ITWindowsClass
Code
If ITW.UsingLargeFonts()
?Button{Prop:FontName} = 'Microsoft Sans Serif'
?Button{Prop:FontSize} = 8
Else
?Button{Prop:FontName} = 'Microsoft Sans Serif'
?Button{Prop:FontSize} = 9
End
See also: