Hello ,
I have a variable in number format. I have a button and a label object.
When my variable is 1, the background color of the button and font color of the label will be green.
When my variable is 2, the background color of the button and font color of the label will be red.
How can I do these codes in Delphi and Javascript?
My Version is 1.90.0 build 1547
TUniSpeedButton *offline1;
offline1->Down=true; //not working
offline1->Color=(TColor)0x003FEC89; // not working
they are very simple things but They do not work properly. Where am I making a mistake?
Thanks
C.BEKTAS