Application.SetRedraw

Application.SetRedraw ( 

boolean Redraw = true )

Example 1

Application.SetRedraw(false);
Button.SetVisible("Button1", false);
Button.SetVisible("Button2", false);
Button.SetVisible("Button2", false);
Button.SetVisible("Button3", false);
Button.SetVisible("Button4", false);
Application.SetRedraw(true);

In this example the Button.SetVisible action is used to hide 4 buttons on the page. Normally each button would be hidden and the application window would be redrawn after each action. In this situation, the Application.SetRedraw action is used to delay the redrawing of the objects on the page until all of the actions have completed.

See also:  Related Actions