Previous Document Next Document
Palette.Close

Sub Close()

Member of Palette

The Close method closes the palette window.

The following code 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.