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

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

TMsgBox Question Button pressed

Hello,
I am using the component tMsgBox in mode "QUETSION".
In this mode, I need to understand when you press the "OK" and "Cancel" button. Unfortunately in mode "QUESTION" does not apply the concept tMsgBox_1_RESULT = "0" or "1".
Can someone please help me?

Labels (2)
2 Replies
Anonymous
Not applicable

tMsgBox_1_RESULT stores the real answer you input, if you press 'Cancel' button, it is null value.
Anonymous
Not applicable

Hi,

I have a tMsgBox_1 and a If condition, who go to a tJava code where I have note in :

((String)globalMap.get("tMsgBox_1_RESULT")).equals("0")


When the user click on OK it do what it's in the tJava must do else close.

Hope it help you.
Burnside.