Screen
From Xojo Documentation
![]() |
This item was deprecated in version 2021r3. Please use DesktopDisplay as a replacement. |
Class (inherits from Object)
Used to get information about the connected displays.
Properties | ||||||||||
|
Shared Methods | |
|
Shared Properties | ||
|
Notes
Although you cannot create an object of type Screen, you can access screen objects through the Screen class.
Sample Code
The following reports on the values of AvailableLeft, AvailableHeight, AvailableTop, and AvailableWidth for the main screen. The value of AvailableHeight takes into account the height of the taskbar (Windows and Linux) and the Dock (macOS). If the user has these tools configured to display on the side, the AvailableWidth property takes them into account.