WR UPDATE MODE

4D - Documentation   Français   English   German   4D Write, Command Theme List   4D Write, Command Alphabetical List   4D Write, Constant Theme List   Back   Previous   Next

version 6.0


WR UPDATE MODE (area; mode)

ParameterTypeDescription
areaLongint4D Write area
modeInteger0=No update
1=Update

Description

The WR UPDATE MODE command allows the designer to enable and disable screen updating in area. If mode equals 0, screen updating is off. If mode equals 1, screen updating is on. This command only affects screen updates caused by 4D Write commands. User actions in area will continue to update the screen correctly.

When screen updating is turned off, 4D Write commands execute faster. For example, if you intend to execute a series of modifications to a 4D Write area, turn off updating before beginning the modifications and then turn updating on when you are finished. The commands execute faster as well as the screen redraw.

Example

The following example turns off screen updating, calls the Reformat project method that makes several modifications, and then turns screen updating back on:

   WR UPDATE MODE (area;0)
   Reformat (Area)
   WR UPDATE MODE (area;1)

See Also

WR REDRAW.


4D - Documentation   Français   English   German   4D Write, Command Theme List   4D Write, Command Alphabetical List   4D Write, Constant Theme List   Back   Previous   Next