Desktop Application Object - VirtualScreenWidth Property

Width of the available screen space across all monitors

Member of Desktop Application Object (PRIM_APPL)

Data Type - Integer

Details

The VirtualScreenWidth and VirtualScreenHeight properties return the resolution of the displays combined.

Example

This example shows the virtual screen resolution on the form titlebar.
Function Options(*DIRECT)
Begin_Com Role(*EXTENDS #PRIM_FORM *implements #prim_App.ihelpHandler) Clientheight(172) Clientwidth(430) Height(211) Left(303) Top(228) Width(446) Theme(#SYS_THEME<2015Indigo>)
 
   Evtroutine Handling(#com_owner.CreateInstance)
 
      #Com_owner.Caption := #sys_appln.VirtualScreenHeight.ASstring + " x " + #sys_appln.VirtualScreenWidth.ASstring
 
   Endroutine
 
End_Com

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2