PaletteModeConstants
Palette-source values for the PaletteMode property of forms and UserControls, choosing where the colour palette used to render child controls comes from.
| Constant | Value | Description |
|---|---|---|
| vbPaletteModeHalftone | 0 | Use the standard halftone palette. |
| vbPaletteModeUseZOrder | 1 | Use the palette of the topmost control that has one. |
| vbPaletteModeCustom | 2 | Use the bitmap supplied by the Palette property. |
| vbPaletteModeContainer | 3 | Use the container’s palette. |
| vbPaletteModeNone | 4 | No palette is set. |
| vbPaletteModeObject | 5 | Use the palette supplied by an in-place active OLE object. |