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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Change Font property of Text of TextBox/Button with some condition or on click

Hi,

Can we change the size/style(like bold) of a text in the textbox/Button with some condition on onlicking that textbox/button on the front end?

And I don't want to do with macros as somehow I can't use them/

Can someone share an example for the same?

Regards and Thanks,

Palash Bansal

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

WITHOUT MACRO YOU CAN DO AS FOLLOWS:

Suppose you want the text 'The pen is on the table' in regular, bold and italic, add 3 text box each one with one style and with a variable hide I show the text you need.

Let me know

View solution in original post

2 Replies
alexandros17
Partner - Champion III
Partner - Champion III

WITHOUT MACRO YOU CAN DO AS FOLLOWS:

Suppose you want the text 'The pen is on the table' in regular, bold and italic, add 3 text box each one with one style and with a variable hide I show the text you need.

Let me know

jagan
Partner - Champion III
Partner - Champion III

Hi,

Use two buttons with different font styles and variable to show and hide the buttons,

Assume variable Name : vButtonType

Button 1:

Properties -> Actions -> Add-> External -> Set Variable -> Variable : vButtonType and Value = 1

Now Button Properties -> Layout -> Show Conditional -> vButtonType  = 1

Button 2:

Properties -> Actions -> Add-> External -> Set Variable -> Variable : vButtonType and Value = 2

Now Button Properties -> Layout -> Show Conditional -> vButtonType  = 2

Hope this helps you.

Regards,

Jagan.