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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

change the caption of a button using macro

Hello

I got a button on a qvw document

I need to change the caption of the document depending on the value of a variable

Please advise

I can walk on water when it freezes
3 Replies
bnichol
Specialist
Specialist

You can dynamically set the text by setting 'Button Properties' >'General' >'Text'  to something like this...

=$(vVariable)

Hope this helps,

B

ali_hijazi
Partner - Master II
Partner - Master II
Author

so the text will change upon the change of the value of a variable

that's good

I can walk on water when it freezes
Miguel_Angel_Baeyens

Hi Ali,

Check the attached application that uses a variable and an action to change both the variable and the button text in the same action.

Hope that helps.

Miguel