version 6.0
DR Get update mode (area) Integer
| Parameter | Type | Description | |
| area | Longint | 4D Draw area | |
| Function result | Integer | Screen update status |
Description
The command DR Get update mode returns an integer that describes the screen update status for area. It is useful for designing modular programs.
If DR Get update mode equals 0, screen updating is turned off. If DR Get update mode equals 1, screen updating is turned on.
Example
The following example turns off screen updating, calls a project method that makes several modifications, and then resets the screen update mode. This is particularly useful when working with nested methods.
$Mode := DR Get update mode (Area) `Get the current update mode DR SET UPDATE MODE (Area;0) `Turn off screen updating REFORMAT (Area) `Area is a Longint DR SET UPDATE MODE (Area;$Mode) `Restore original update mode
See Also
DR REDRAW, DR SET UPDATE MODE.