Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
iswarya
Partner - Creator
Partner - Creator

Disable image on click

When I click a button, the Image should display. When i click the image, the image should disable.

Can someone help me how to disable the image by clicking it.

Thanks in advance

1 Solution

Accepted Solutions
Claudiu_Anghelescu
Specialist
Specialist

1. create a new variable vShowImage

2. create Button

3.  Button Properties -> Actions -Add -External-> Set Variable:  

Variable: vShowImage

Value: 1

4. Create a new Text Object

5. Text Object Properties -> Actions -Add -External-> Set Variable:  

Variable: vShowImage

Value: 0

6. Text Object Properties -> Layout

Conditional:  vShowImage=1

 

You can add a Image on Text Object.

To help community find solutions, please don't forget to mark as correct.

View solution in original post

5 Replies
m_woolf
Master II
Master II

I assume the image is in a textbox and the textbox is set to display on a variable value. In the textbox actions, set the variable value so that the textbox will not be displayed.

Claudiu_Anghelescu
Specialist
Specialist

See the attached document.

To help community find solutions, please don't forget to mark as correct.
iswarya
Partner - Creator
Partner - Creator
Author

 

Can you explain in words what have you done because i cannot open the app

Claudiu_Anghelescu
Specialist
Specialist

1. create a new variable vShowImage

2. create Button

3.  Button Properties -> Actions -Add -External-> Set Variable:  

Variable: vShowImage

Value: 1

4. Create a new Text Object

5. Text Object Properties -> Actions -Add -External-> Set Variable:  

Variable: vShowImage

Value: 0

6. Text Object Properties -> Layout

Conditional:  vShowImage=1

 

You can add a Image on Text Object.

To help community find solutions, please don't forget to mark as correct.
Josh_Berg_Support

Did the above suggestion resolve your issue?  If so, please mark the post as correct.

To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.