www.icetips.com  Icetips Utilities Documentation 5/9/2015    

Windows Class: UsingLargeFonts

Previous  Top  Next  


Prototype: (),Byte

 

ReturnsReturns 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:

GetDialogUnit

 

 

 



Direct link to this page: http://www.icetips.com/manuals/utilities/usinglargefonts_window.htm