Visual Basic Reference

Visual Studio 6.0

Palette Property

See Also    Example    Applies To

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


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.


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