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

How to Highlight the text box BG color when i selected it


Hi fiends,

How to Show that the text box is selected by changing the color.

Eg

TEXTBOX 1  TEXBOX2   TEXTBOX3  of same color before selecting.

TEXTBOX1 should change the Background color after selecting and the remaining two should be same.

Can anyone pls help me out.

Regards

Krish

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

4 Replies
MK_QSL
MVP
MVP

Like this ?

Not applicable
Author

you can do this using variables

set variable vColor = 0

textbox1--> Action--> Set variable vColor=1

               General-->Background color--> if(vColor=1,Black(),White())

similarly for other textbox

     vColor = 2,

     vColor= 3

Not applicable
Author

Use a Variable:

Set variable vColor = 1,

In Properties of Textbox,Go to 'Action'-- 'Set variable' vColor=1

               then,'General'--Background, Color--Calculated [if(vColor=1,RGB(As Required)] or select 'Fixed'

eg: if(vColor=1,rgb(34,32,93),rgb(240,0,11)),if(vColor=2,rgb(34,32,93),rgb(240,0,11))...

and do the same for other Text Boxes

Hope it helps.

Not applicable
Author


Hi Manish,

Thank You, absolutely right for what I expected.

Regards

Krish