Palette Usage in Microsoft Access

With all versions of Microsoft Access, you can often improve the display of images in 256-color mode by implementing LEAD’s fixed palette as the custom palette on a form. To do so, take the following steps:

1. Use the LEADTOOLS Main Demo to save an 8-bit BMP file with a fixed palette. To do this, you load any image, use the Color Resolution option to convert it to 8-bit with a fixed palette, then save it as an 8-bit BMP file in your application directory.

2. In the Properties box for the form or report, change the Palette Source property to a custom palette by specifying the BMP file that you saved.

3. In the code that initializes the LEAD control, specify LEAD’s fixed palette as the paint palette. For example:

Lead1.PaintPalette = PAINTPALETTE_FIXED