# System.gui.confirm default no

**URL:** <https://forum.inductiveautomation.com/t/system-gui-confirm-default-no/51730>\
**Category:** Ignition\
**Tags:** ignition80, vision\
**Created:** [October 8, 2021, 6:34am UTC](https://forum.inductiveautomation.com/t/system-gui-confirm-default-no/51730 "2021-10-08T06:34:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![taohongyu88](https://avatars.discourse-cdn.com/v4/letter/t/f05b48/32.png) [@taohongyu88](https://forum.inductiveautomation.com/u/taohongyu88)\
**Post date:** [October 8, 2021, 6:34am UTC](https://forum.inductiveautomation.com/t/system-gui-confirm-default-no/51730/1 "2021-10-08T06:34:55Z")

</div>

system.gui.confirm  
How to default select No not Yes?  
 ![1633674882(1)](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/2/9286bc1f60d8eec97c1843a7d9275243bb568237.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 8, 2021, 10:57am UTC](https://forum.inductiveautomation.com/t/system-gui-confirm-default-no/51730/2 "2021-10-08T10:57:36Z")

</div>

Make your own popup window. That's good not just to control the default response. See this related topic:

> [@System.gui.confirm() - Auto close](https://forum.inductiveautomation.com/t/system-gui-confirm-auto-close/51725/2):
>
> You can’t use scripting because those popups stop the GUI thread. So almost all other scripts won’t run, either. Just don’t use system.gui.confirm(). At all. (Nor any of the system.gui.\*Box functions.) Make a real popup window for such user interaction. Use window z-order to keep them on top if necessary. Regular popup windows allow scripts to keep running, and can’t get behind the application window.

---

<div class="post-metadata">

**Author:** ![taohongyu88](https://avatars.discourse-cdn.com/v4/letter/t/f05b48/32.png) [@taohongyu88](https://forum.inductiveautomation.com/u/taohongyu88)\
**Post date:** [December 13, 2023, 7:32am UTC](https://forum.inductiveautomation.com/t/system-gui-confirm-default-no/51730/3 "2023-12-13T07:32:35Z")

</div>

[Vision Confirmation default selection - Ignition - Inductive Automation Forum](https://forum.inductiveautomation.com/t/vision-confirmation-default-selection/32899)
