Your DesktopX Documentation Resource Guide

Documentation Home

Quick Start

User's Guide

Developer's Guide

Resources

Tutorials


System Callbacks

Sub System_OnScreenChange

If the screen resolution changes then you may wish to resize or reposition the objects accordingly.
Since this is supposed to be a custom repositioning code, depending of particular wanted behaviours, it is recommended that you set the automatic repositioning in the “Relation” tab to “Disabled” for both horizontal and vertical axis.

Example:

Sub System_OnScreenChange
Object.Width = System.ScreenWidth - 350
End Sub

Sub System_OnWorkareaChange

If the workarea changes (as result of screen resolution changes or taskbar resize) you may want to resize or reposition the objects accordingly.
Since this is supposed to be a custom repositioning code, depending of particular wanted behaviours, it is recommended that you set the automatic repositioning in the “Relation” tab to “Disabled” for both horizontal and vertical axis.

Example:

Sub System_OnScreenChange
Object.Width = System.ScreenWidth - 350
End Sub


7/29 

SkinStudio 6.2 Released

7/25 

A God Has Fallen - New Demigod Trailer Released

7/24 

Sins of a Solar Empire v1.1 Beta has Arrived

7/23 

Stardock Releases New WindowBlinds 6.2 Update

7/22 

Stardock Releases The Political Machine v1.04 with New Characters

7/22 

Stardock Releases MyColors 2.5

7/17 

DesktopX 3.5 Officially Released

7/11 

Corel WinDVD 9 and Painter X Now Available on Impulse!