Previous Document Next Document
Palette.Name

Property Name As String

Member of Palette

The Name property returns or sets the name of the palette.

The palette name can be set with the Name property only if the palette is a custom palette.

The following code example displays the name of all open palettes:

Sub Test() 
 Dim s As String 
 Dim pal As Palette 
 s = "Open palettes:" & vbCr 
 For Each pal In Palettes 
  s = s & vbCr & pal.Name 
 Next pal 
 MsgBox s 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.