gButton.gImageOfBitValue1 Property

Top  Previous  Next

PROPERTY                                               DATA TYPE            NOTE

gColorOfBitValue0

Color

Backcolor of gButton if bit state FALSE

gColorOfBitValue1

Color

Backcolor of gButton if bit state TRUE

gImageOfBitValue0

Image

Image on gButton if bit state FALSE

gImageOfBitValue1

Image

Image on gButton if bit state TRUE

 

These properties define appearance of gButton in accordance with specified bit state.

gButton should be in Bit mode. (gValueOrBit = Bit)

 

C# code example

gButton.gColorOfBitValue0 = Color.Red;

gButton.gColorOfBitValue1 = Color.Blue;

gButton.gImageOfBitValue0 = Image.FromFile("filepath");

gButton.gImageOfBitValue1 = Image.FromFile("filepath");