BB___DisplayWidth

=DisplayWidth= toc

Description
> This is a special variable. It holds the width of the display screen (in pixels), which is obtained from the computer system. The value is available to be used in expressions and calculations involving the size and location of a program's windows.

Usage
code format="lb" WindowWidth = DisplayWidth code

Hints
>>
 * //**Centering a Program Window.**// To center a window on the display width, use this expression:

Example
code format="lb" print "Screen width is ";DisplayWidth print "Screen height is ";DisplayHeight code

Useful Functions
code format="lb" Place a useful function using this command here code