TIvoryPalette::Color

Provides runtime access to the colors in the palette.

__property TColor Color[int color];

Description

Use Color to get or set a color in the palette. The value of color must be between 0 and 255, and the palette object must be created. Note that the constructor doesn't create a DirectDraw palette automatically for you.

WARNING! Color is a read-only property in the Beta 1 version. I just didn't have enough time to implement everything I wanted to. In the next version, the Ivory Palette component will be a bit smarter.

Back to TIvoryPalette