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: 
Not applicable

button font and border in script

Hi,

I have a button. I want to change its borders, text color in script. I know how to change it statically but may I know how to do this in script??

Thanks!!!

2 Replies
israrkhan
Specialist II
Specialist II

there is no way to access object in qlikview script, script work with data only,

but i think you can do this by using macro, search for macro example on community.

Colin-Albert
Partner - Champion
Partner - Champion

You can change the button colour and text colour by setting the base colour (and second colour if used) as calculated and then create a variable say vButtonColour, and set the variable to the colour you want in the script using rgb() or another colour function.

You can change the border colour in a similar way but the settings for other options like border style/width/shadow cannot be altered via variables and must me manually set or set using styles.