Navigation:  Contents > Control Properties >

ScreenWidth Property

Previous pageReturn to chapter overviewNext page

 

Returns the current screen width in pixels. Read-only at both design-time and run-time.

 

 

Syntax

 

object.ScreenWidth

 

Where object evaluates to an ActiveResize control.

 

 

 

Remarks

 

This property always returns the current (real) screen width at both design-time and run-time. This property differs from the ScreenWidthDT property in that it always returns the current (effective) screen width (could be different in design-time and run-time), while ScreenWidthDT always returns the screen width at which the application was designed and developed.

 

Return to Contents

 

 

Copyright 2002-2018 - VBGold Software