Command WR REDRAW

4D Write

WR REDRAW

version 6.0


WR REDRAW (area)

ParameterTypeDescription
areaLongint4D Write area

Description

The WR REDRAW command causes area to be redrawn. This command is useful when you have disabled screen updating with the WR UPDATE MODE command and now want to redraw a 4D Write area to show how previously executed code has modified the area.

Example

The following example turns off screen updates, calls the Reformat project method that reformats area, and then redraws area without turning screen updating back on.

   WR UPDATE MODE (area;0)
      `Turn off screen updating
   Reformat (area)
      `area can be passed to a method
   WR REDRAW (area)
      `Redraw to display changes

See Also

WR UPDATE MODE.