Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
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

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.