Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to change color of active text object.

how to change color of active text object.pls give steps as i cant open other qvw file.

10 Replies
Sokkorn
Master
Master

Hi,

Right click on object -> Chart Properties -> Caption tab -> play around with "Inactive Caption" and "Active Caption"

Rgds,

Sokkorn

Not applicable
Author

thnx ..bt i dont want use caption..any other option.

Sokkorn
Master
Master

Hi,

Does it do you job or not? What specific requirement you looking for?

Rgds,

Sokkorn

Not applicable
Author

i have done set varaible on text box.once u click, it opens chart..i hav multiple such text objects doing same work.now i want if any text object is selected then it should be hightlighted.

rustyfishbones
Master II
Master II

You Can do the following

Create a Variable called control.textobject and set the value to 1

Create a Text Obect

Add an Action > Set Variable to control.textobject and the Value to 1

Background Color say IF(control.textobject = 1 , green() , RGB(237,238,239))

Font Color Say  IF(control.textobject  = 1 , WHITE() , green())

Then you should add an action to the object you want to show or hide

This video may help you

https://www.youtube.com/watch?v=RrTqtFy3i0g

Not applicable
Author

thx i was looking for this nly..:)

Sokkorn
Master
Master

Hi,

Do a trick like this:

Let say we have variable vTextObj. Now in "Action" tab for Text Object 1 -> Add "External" action -> "Set Variable"

    . Variable: vTextObj

    . Value: 1

Go to "General" tab -> Click "Color" -> Click "Calculated" -> Use expression =If(vTextObj1=,Red(),White())

Untitled.png

Rgds,

Sokkorn

Not applicable
Author

thnx Sokkorn..i did it..

Anonymous
Not applicable
Author

thanks alan but when i'm adding this condition to all objects, at a time text of one object should be highlighted but this is not actually happening in my case.

pls suggest solution for this.

thanks in advance

Regards

Kaustubh