Previous Document Next Document

Object Model Reference : Classes : A : Application : Methods : Application.Refresh


Application.Refresh

Sub Refresh()

Description

Member of Application

The Refresh method updates all open dockers.

VBA example

The following VBA 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 2013 Corel Corporation. All rights reserved.