Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
CUSTOMERS ONLY: Now accepting customer applications for the 2023 Luminary Program: SUBMIT NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Button Color Change

Hi,

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.

Thanks

1 Solution

Accepted Solutions
Not applicable
Author

Hi Santhosh,

Please check the attached application.

i think , that would help you out.

Regards

Sridhar

View solution in original post

4 Replies
Not applicable
Author

Hi Santhosh,

Please check the attached application.

i think , that would help you out.

Regards

Sridhar

Not applicable
Author

Hi,

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.

- Sridhar

Not applicable
Author

Thanks Sridhar.

That is what I need.

-- Santhosh

nickedw0
Creator
Creator

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 ClearButtons
set v = ActiveDocument.Variables("vActiveButton")
v.SetContent "0",true
set v = ActiveDocument.Variables("vActiveButton2")
v.SetContent "0",
true
End Sub