Object Model Reference : Classes : P : Palette : Methods : Palette.Close |
Sub Close()
Member of Palette
The Close method closes a specified palette.
The following VBA example closes all palettes except for the standard palette in CorelDRAW.
Sub Test() |
Dim pal As Palette |
For Each pal In Palettes |
If pal.Name <> "Default CMYK palette" Then pal.Close |
Next pal |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.