Is there any way to make exit button ask a question before it exits the program? Sometimes it happens to shut down the main card by mistake and then open everything from scratch..
*This post is locked for comments
Is there any way to make exit button ask a question before it exits the program? Sometimes it happens to shut down the main card by mistake and then open everything from scratch..
*This post is locked for comments
I belief there's no any standard way of doing this. You just have to find a way workaround. As Suggested by other members OnQueryclose option will work but it will only work if user closes the Page but if he accidentally turns off NAV then there's no way.
I don't think we can add it to the complete application. I check the codeunit 01 and was not so lucky. (May be others can help and enlighten us as well)
I think we cannot have this for the whole app. At least, I have no good ideas.
Hey Write these code in "OnQueryClosePage" Trigger in Page that page you want.
IF CONFIRM('Are you sure want to exit?',FALSE) THEN
EXIT
ELSE BEGIN
ERROR('');
END;
Or where ever you want, write based on trigger it fired.
See you can customize functions, not you can add built in function. this can be done by NAV App developer.
I think this is working for specific pages not the whole app
Hi Andreas,
There has been a fruitful discussion about that recently here:
forum.mibuso.com/.../do-you-wont-to-close-nav-confirmation-page
Hope it helps
Hi Andreas
By looking at your questions you are looking something link Confirm Dialog Box .
Look at this link
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156