AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkEditBox.SetBackgroundColor Method (Byte, Byte, Byte, Byte)

Sets the color of the main text entry box.

Syntax
Pascal
procedure SetBackgroundColor(const Red: Byte; const Green: Byte; const Blue: Byte; const Alpha: Byte = $FF); overload;
Parameters 
Description 
const Red: Byte 
the red component of the color. 
const Green: Byte 
the green component of the color. 
const Blue: Byte 
the blue component of the color. 
const Alpha: Byte = $FF 
(optional) the alpha component of the color, where 0 is fully transparent and 255 (default) is fully opaque. 

You can also use an image with BorderImage.

Copyright (c) 2012. All rights reserved.