Visual Basic Reference

Palette Property

See Also    Example    Applies To

Returns or sets an image that contains the palette to use for the control.

Syntax

object.Palette = path

Part Description
object An object expression that evaluates to an object in the Applies To list.
path The path of the bitmap image containing the palette to be used.

Remarks

You can use a .dib, .gif, or .bmp file to set the palette.