ImageEn, unit ieview

TIEView.BackgroundColor2

TIEView.BackgroundColor2


Declaration

property BackgroundColor2: TColor;


Description

Specifies the secondary color when BackgroundStyle is one of iebsHorizontal, iebsVertical, iebsFDiagonal, iebsBDiagonal, iebsCross, iebsDiagCross, iebsChessboard.
If BackgroundColor2 is clNone, then the secondary background color will be NOT Background

Note: If BackgroundStyle = iebsGradient, then GradientEndColor specifies the secondary color

Default: clNone


Examples

// Diagonal white and black background
ImageEnMView1.BackgroundStyle := iebsDiagCross;
ImageEnMView1.Background := clWhite;
ImageEnMView1.BackgroundColor2 := clBlack;

// White and gray chessboard background (can also use SetChessboardStyle)
ImageEnView1.BackgroundStyle := iebsChessboard;
ImageEnMView1.Background := clWhite;
ImageEnMView1.BackgroundColor2 := $00E9E9E9;


See Also

 Background
 SetChessboardStyle
 BackgroundStyle
 GradientDir
 GradientEndColor
 Wallpaper
 WallpaperStyle