Skip to content

PaletteModeConstants

Palette-source values for the PaletteMode property of forms and UserControls, choosing where the colour palette used to render child controls comes from.

ConstantValueDescription
vbPaletteModeHalftone0Use the standard halftone palette.
vbPaletteModeUseZOrder1Use the palette of the topmost control that has one.
vbPaletteModeCustom2Use the bitmap supplied by the Palette property.
vbPaletteModeContainer3Use the container's palette.
vbPaletteModeNone4No palette is set.
vbPaletteModeObject5Use the palette supplied by an in-place active OLE object.

twinBASIC and LOGO copyright of "WaynePhillipsEA" author