2 Replies Latest reply: Dec 20, 2013 7:37 AM by Colin Albert RSS

    button font and border in script



      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??



        • Re: button font and border in script
          Israr Khan

          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.

          • Re: button font and border in script
            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.