Hi.
What is the syntax to use variables for style attributes for custom panel buttons? For example, here is a line of code after manually making style choices:
<button buttontype="push" id="5006" name="7 Tests of
Just Cause
$100" style="size:Bigger;fg#FFFA01;bg#063A71;o#000000;font:bold;">
What I want to do is make button background colors different, if they are the active button. So in the above code, bg#063A71 is my button background color. If I declare a variable like:
<api>var bgDefault = "bg#063A71";</api>
Can I then just use (and change) this variable in my subsequent button code? What is the syntax to do so? I've tried a few variations of:
<button buttontype="push" id="5001" name="Weingarten
Rights
$100" style="size:Bigger;fg#FFFA01;'bgDefault';o#000000;">
where I tried to replace the default value with my variable (bgDefault), but it doesn't seem to work. Any ideas?