ImageEn, unit iexBitmaps

TIOParams.CUR_Background

TIOParams.CUR_Background

Declaration

property CUR_Background: TRGB;

Description

Specifies the color that is used for transparency (i.e. becomes the image background) when loading cursor files.

Default: (255, 255, 255), i.e. white

Note: This property must be set before loading.

Example

ImageEnView1.IO.Params.CUR_Background := CreateRGB(255, 255, 255);
ImageEnView1.IO.LoadFromFileCUR('C:\myicon.cur');

See Also

CreateRGB
TRGB2TColor
TColor2TRGB