Hello!
Excuse me if my English is a bit bad.
First of all I wanted to congratulate you for the good software you have created. Without a doubt, I recommend it and it seems to me that it has a lot of potential and good functionalities to create a good program for windows with our PHP codes… I’ve been testing it for a while and recently acquired one of the licenses.
I open this topic to ask you how I can change the background color of a button, for example to red or green.
I have this piece of code, which works fine… and it changes the text of the button, I just want to change the background color as well:
if GetGlobalVar("virtualKeyboard", "1") <> "1" then
begin
//MessageBox("On-screen keyboard disabled.", "Virtual keyboard", MB_OK+MB_ICONINFORMATION);
SetUIProp("Toolbar1scButton2", "Caption", "Keyboard OFF");
end
else
begin
//MessageBox("On-screen keyboard has been activated.", "Virtual keyboard", MB_OK+MB_ICONINFORMATION);
SetUIProp("Toolbar1scButton2", "Caption", "Keyboard ON");
end;
I guess it’s just changing the parameter… for example:
etUIProp(“Toolbar1scButton2”, “BackgroundColor”, “#FF0000”);
But I don’t know how I could do it.
Could you help me?
Thanks