Setup guide
Display(
[
nDisplayNum
]
)
Arguments
nDisplayNum
Optional. The index number of the display adapter.
Valid numbers range from zero to one less of the amount of installed gfx cards.
The default is 0.
Properties
Methods
SetMode(
nWidth, nHeight, nBits, nFrequency
)
Sets the display mode.
Arguments
nWidth
Required. Screen width
nHeight
Required. Screen height.
nBits
Required. Color depth in bits.
nFrequency
Required. Refresh rate in Hz.
Note that some display adapters do not support refresh rate manipulation.
Set nFrequency to 0 in this case.
JScript example:
Display.SetMode (1280,1024,32,85); // set the display mode to 1280x1024, 32 Bits,
85Hz
Name
Read-only string containing the name of the display adapter hardware.
Number
Read-only, zero-based index number containing the display adapter number.
Off
Read/write boolean value indicating the power management state of the display. Can be set to
true
to turn the display off.
Width
The actual screen width. Read-only.
Height
The actual screen height. Read-only.