screen Properties DHTML Object Properties
Sets or retrieves the update interval for the screen.
HTML |
N/A |
Script |
screen.updateInterval [ = iInterval ] |
iInterval |
Integer value indicating milliseconds. |
The property is read/write with a default value of 0.
The property can be set to an integer value specifying the number of milliseconds between updates to the screen. A value of zero ( 0 ) disables the update interval.
The interval causes invalidations to the window to be buffered and then drawn in the specified millisecond intervals. The purpose is to limit excessive invalidations that reduce the overall painting performance, which can happen if there are too many flipbook-style animations occurring at once.
Use this property judiciously; a value too small or too large will adversely affect the page rendering response.
The timer used for updateInterval is a named timer, called NAMEDTIMER_DRAW, from the Timer Services available to controls. You may or may not wish to synchronize controls to this timer.
screen