EnableRepaint

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > PDMSystem >

EnableRepaint

available from build: 20071031

Description

This command stops the automatic Browser repaints that may happen while executing scripts.

Syntax

call DBWShell("EnableRepaint repaint")

Parameters

repaint

0: disable the repaint
1: enable the repaint

Remarks

The Browser repaint is always automatically re-enabled when the script terminates its execution.

Example

Sub main()

    DBWInit(TRUE)
 DBWShell("EnableRepaint 0")
 DBWMsgBox "Please move me over the Browser's Tree: I will erase it!"
 DBWShell("EnableRepaint 1")
 DBWMsgBox "Please move me again over the Browser's Tree: I will display it now!"
End Sub