首页 > comp > gb.qt4 > desktop 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh eo
前一个  下一个  编辑  重命名  撤销  搜索  管理  
THIS WIKI IS DEPRECATED AND IS READ-ONLY. THE NEW WIKI IS THERE.
文档  
警告! 该页面未翻译。  参见英文版 
Desktop (gb.qt4)
This class is used to get information about the desktop and the screen.

代号
该类是静态类。

静态 属性  静态 方法  常数 
H  HasSystemTray  Height  Resolution  Scale  W  Width  X  Y    Screenshot    Charset   

示例

'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