Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I have a few text boxes that when clicked on - it will toggle on/off a criteria I have set under Actions.
Is there a way to change the colour of the box, so I have one colour when it is toggled on and another colour for when it is toggled off.
I hope this makes sense. Let me know, otherwise.
Kind Regards
Kozan
Bump!
Hi all, thank you for the responses so far. But unfortunately, the issue of the colour not defaulting back to the original INACTIVE colour when the USER clicks on CLEAR ALL is still an issue that I ideally need to get fixed.
I have put a quick screenshot, of the IDEAL SCENARIO which I am looking for. Along with what currently is happening.
I hope this helps
Cheers
Hi Kozan,
The attached Application does the same thing what you expect.
What action have you added to Clear all button?
Please mention what is missing in my app.
Regards,
Pankaj
Thanks Pankaj.
But the function I am looking for is a Toggle rather than a Select Field. And when I switch your coding to a Toggle Action, the colour changes doesn't seem to work properly.
Unless I am missing something
See if this meets your need.
Pressing button switches color back and forth.
Pressing Clear will cause the button to go back to default Blue.
Actually nevermind, I have figured out the variable you added on the document level. This works perfectly now. Thank you so much for your help
----
This seems to work well. Thanks. I can see the expressions and actions you have put on the object itself.
How are you making the variable default to a "-1" when I hit clear?
Quick question on this. As I have a few text boxes that I need to implement this on all with there own variable.
Does this have an affect on the performance of Qlikview. As I have implemented this on a few boxes already and I am experiencing a considerable lag in performance. I wonder weather this is just my pc or the fact I have added multiple triggers on the document level?
Please let me know if you have any insight. Thanks
Kozan
Go in to Document Settings > Triggers
I have a Document Event Trigger on the "OnAnySelect'
I can't say i've ever experienced increased lag because of buttons like this.
I've only had 4 or 5 buttons on a page tied to actions though. Not sure how many you have.
And I've had a couple of dozen variables before.
Sorry I can't give a more definitive answer than that.