I have a text object of which I would like that the font colour will be changed if being clicked on - but struggling with this.
In the text object properties I have the following added:
- added "Set Variable"
- Variable: "vToggle"
- Value: = not vToggle
- Calculated Base Color: =if($(vToggle), blue(), yellow())
In the Variable Overview Settings:
Variable Name: vToggle
All other settings are untouched. Anyone knows why my text object is not changing color once I click on it.
Unfortunately not able to upload qvw.
I really don't know why are you doing long process
Create variable like var
Then, text object color section use this
If (var=1, reqtextcolor, default)