Home > comp > gb.qt4 > desktop 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
THIS WIKI IS DEPRECATED AND IS READ-ONLY. THE NEW WIKI IS THERE.
Documentation  
Warning! This page is not translated.  See english version 
Desktop (gb.qt4)
This class is used to get information about the desktop and the screen.

Symbols
This class is static.

Static properties  Static methods  Constants 
H  HasSystemTray  Height  Resolution  Scale  W  Width  X  Y    Screenshot    Charset   

Example

'This example displays desktop properties in a message box. It formats the message using rich text.

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