Discussion Board for collaboration related to QlikView App Development.
Can someone help me on to set custom color in a button.
I use a button and it should be green when selected and Red when some other button is selected.
Please check the attached application.
i think , that would help you out.
View solution in original post
To achieve your requirement, i have used macro and calculated color options.
Have a look at macro @ Macro window and Color option @ color in Button.
And please take a look at the updated application with this post.
That is what I need.
I have two sets of 'Radio' buttons. Upon leaving a tab, I run a macro which resets the variables controlling the on/off colors for each set of buttons.
the following macro to clear buttons:
Sub ClearButtonsset v = ActiveDocument.Variables("vActiveButton")v.SetContent "0",trueset v = ActiveDocument.Variables("vActiveButton2")v.SetContent "0",trueEnd Sub