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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Prevent from user to leave a sheet

hello all,

is it possible to prevent from the user to leave a sheet only if he press on a button??

avi

6 Replies
swuehl
MVP
MVP

One solution might be to 'hide tabrow' in document properties and do the tab navigation entirely using buttons.

Not applicable
Author

thank you for your replay!

i need something else,

more like a pop up msg .

swuehl
MVP
MVP

In sheet properties, you could set a trigger on OnLeaveSheet, with an action External - Run Macro.

In the Macro, create the Popup, you could probably also check for some user response and maybe then leave / don't leave the sheet.

Not applicable
Author

thank you!

Miguel_Angel_Baeyens

Hi,

You can add a sheet trigger (right click on any empty space of the sheet you want the user to be, select Properties, Triggers tab). In the event of OnLeaveSheet you can set a variable to 1, so a text object appears to warn the user that he or she is about to leave the current sheet, or even that they cannot leave the current sheet.

Hope that helps.

Miguel

Not applicable
Author

thank you

maybe you can help me with something else??

http://community.qlik.com/thread/46173?start=0&tstart=0

avi