Home / comp / gb.qt / desktop 
Desktop (gb.qt)
This class is used to get information about the desktop and the screen.

Symbols
This class is static.

Static properties  Static methods 
Charset  H  Height  Resolution  Scale  W  Width    Grab   

This example displays desktop properties in a Message box. It formats the message using HTML.

Examples

PUBLIC SUB ButtonProperties_Click()
  DIM p AS String
  p = "\

Desktop Properties\

" p &= "Charset \" & Desktop.Charset & "\" p &= "\
Height \" & Desktop.Height & "\" p &= "\
Resolution \" & Desktop.Resolution & "\" p &= "\
Scale \" & Desktop.Scale & "\" p &= "\
Width \" & Desktop.Width & "\" Message.Info(p) END