AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkVirtualButton.SetColor Method (Byte, Byte, Byte)

Sets the color of the virtual button.

Syntax
Pascal
procedure SetColor(const Red: Byte; const Green: Byte; const Blue: Byte); 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. 

By default buttons are greyscale so that they can accept various colors.

Copyright (c) 2012. All rights reserved.