Accessing Screen Properties
Like forms and controls, the Screen object Unlike form and control properties, however, Screen properties are available only at run time and thus cannot be set in the Properties window . You can access and manipulate Screen properties only in code at run time. Screen properties are global for the current project. has a set of predefined properties .
To access a Screen property through code
Use the syntax Screen.propertynamefor example, Screen.Width.
The Screen properties are:
Setting Form and Control Properties