Home / comp / gb.qt / desktop 
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration   
fr  de  es  it  nl  pl  pt  pt_BR  ca  ar  fa  vi  ja  ru  zh  zh_TW  eo 
Documentation
History
 
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 = "<h2>Desktop Properties</h2>"
  p &= "Charset <b>" & Desktop.Charset & "</b>"
  p &= "<br>Height <b>" & Desktop.Height & "</b>"
  p &= "<br>Resolution <b>" & Desktop.Resolution & "</b>"
  p &= "<br>Scale <b>" & Desktop.Scale & "</b>"
  p &= "<br>Width <b>" & Desktop.Width & "</b>"
  Message.Info(p)
END