Sets the colors in a user defined palette for the control.
- Index
The minimum index is 0.
The maximum index is 255.
- newVal
- The RGB value for that palette location.
When the Palette property is 4 - User Defined, palettized images (8-bits per pixel or less) loaded will be displayed using the palette defined by this method.