Description
Returns/sets the palette file of popup window.
Usage
[form.][control.]PaletteFile[ = String]
Data Type
String
Default
“”
Remarks
This property sets or returns an palette file name for dropped down popup window, this property function is the same with LoadColorBoxColors method, see also LoadColorBoxColors method.
Palette file is a 256 levels ramp color matrix generated from serial ramped nodes, this control has attached a Palette Editor, user can load, edit, generate and save palette files for the control loading. Another, this control has integrated Palette Editor all features inside. See also Palette Editor in “Color Picker ActiveX Control Operation Manual”.
More details about ramp palette functions, see also GeneratePalette and SavePalette methods.
Notes: Color cells tooltip texts will not synchronize automatically after its value is changed. All color cells tooltip texts need be modify manually if you hope it has meaning, refer to SetColorCellToolTip method.
Sample
ColorPicker1.PaletteFile = “c:\palettefiles\rainbow.pal”