Previous Document Next Document
Application.Refresh

Sub Refresh()

Member of Application

The Refresh method updates all open dockers.

The following code example updates the Properties docker with the new width for the outline. The Outline tab of the Properites docker must be open.

Sub Test() 
 Dim rect As Shape 
 Optimization = True 
 Set rect = ActiveLayer.CreateRectangle(0, 0, 3, 3) 
 rect.Outline.Width = 0.4 
 Optimization = False 
 ActiveWindow.Refresh 
 Refresh 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.