Skip to main content
Announcements
See why Qlik was named a Leader in the 2025 Gartner® Magic Quadrant™ for Augmented Data Quality Solutions: GET THE REPORT
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

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

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.