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.
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