RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TImageList.BkColor Property

Determines which background color to use when drawing an image.

Pascal
property BkColor: TColor;
C++
__property TColor BkColor;

Use BkColor to specify the color used for the masked regions of the images in the list. When BkColor is clNone, the image is drawn transparently using the mask to define the transparent areas. Otherwise, the value of BkColor appears in the masked out portions.

Note: BkColor has no effect when the Masked property is false.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!