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 = "\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