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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How can I change the background colour of an object when the sheet is active?

I have disabled the tabrows and used text objects (with actions) to move between the sheets.  I would like the background colour of the objects to change when each sheet is active, as a visual indicator to the user. Please can someone offer help in a very basic and non technical way?

Thanks


5 Replies
MK_QSL
MVP
MVP

Check enclosed file...

pradnyat
Creator
Creator

Hi Simon,

Suppose your sheet ID id is 'SH01'

Then in text box background color, write calculated expression as

=if(getActivesheetID()='SH01',Black(),white()).

Hope this will help you.

MK_QSL
MVP
MVP

It should be...

something like below...

=IF(Wildmatch(GetActiveSheetId(),'*SH01*'),QlikTechGray(),Blue())

Anonymous
Not applicable
Author

That has worked.

thanks very much for the help

MK_QSL
MVP
MVP

Kindly close the thread by selecting appropriate answer...