Author |
|
williammanda Groupie
Joined: December 03 2008 Location: United States
Online Status: Offline Posts: 84
|
Posted: January 21 2009 at 19:44 | IP Logged
|
|
|
Hey
Would someone point out the syntax error for this formula?
Code:
ph_setccobjgraphic ( "MASTERBEDROOM", "GB1N", C:\Program Files\powerhome\web\graphics\buttons\b1red-d_50.gif, ,0) |
|
|
Event log:
Code:
Syntax Error in Formula: ph_setccobjgraphic ( ~"MASTERBEDROOM~", ~"GB1N~", C:\Program Files\powerhome\web\graphics\buttons\b1red-d_50.gif, ,0) |
|
|
Here is a copy of the control center via the explorer page.
As you can see the tab id and button id are correct. I'm not sure what to put in the downfile and flag?
Thanks
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: January 21 2009 at 20:44 | IP Logged
|
|
|
Unless the forum trashed it, I'd say the missing quotes around the paths...
ph_setccobjgraphic ( "MASTERBEDROOM", "GB1N", "C:\Program Files\powerhome\web\graphics\buttons\b1red-d_50.gif","",0)
downfile is a path to the graphic for the pressed state. I'm not sure if it would be better to just duplicate the first path or leave it null.
|
Back to Top |
|
|
williammanda Groupie
Joined: December 03 2008 Location: United States
Online Status: Offline Posts: 84
|
Posted: January 22 2009 at 14:14 | IP Logged
|
|
|
Thanks
This seems to work OK.
Code:
ph_setccobjgraphic ( "MASTERBEDROOM", "GB1N", "C:\Program Files\powerhome\web\graphics\buttons\b1green-d_50.gif","") |
|
|
|
Back to Top |
|
|
|
|