Quantcast
Channel: ExeOutput for PHP - G.D.G. Software Forum
Viewing all articles
Browse latest Browse all 1024

How to change Toolbar scButton background color

$
0
0

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

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 1024

Latest Images

Trending Articles



Latest Images