DialogEx.SetRedraw

DialogEx.SetRedraw ( 

boolean Redraw = true )

Example 1

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

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

See also:  Related Actions