Gets and sets the palette management flag.
Read-write property
Visual Basic |
---|
Public Property ManagePalette As Boolean |
True to realize the image's color palette as the foreground palette if the control is the topmost control.
False to not realize the image's color palette as the foreground palette.
This property is ignored if the current display setting is greater than 256 colors.
When this property is True, and an image is loaded into the control, the control realizes the image's color palette as a foreground palette; if the control is the topmost control (i.e. has the highest z-order). If your project has multiple images, then all of the images will be displayed using the topmost image's palette.
Support for Visual Basic 6.0.
ManagePalette is ignored unless the forms Palette property is set to 1 - UseZOrder.