Hi all,
I am writing my first IDEA script. I have searched many topics but could not find the solutions. My problem is msgbox displayed many times when users click on the button several times. In the pictures attached, when users click on Check Ready button 2 times, 2 msgbox will be displayed. Hope to hear from you soon!
tryvltkcb
Offline
Last seen: 2 years 2 months ago
Joined: 10/25/2018 - 02:49
Hi, if you watch this video it will show you how to get around this problem. https://www.youtube.com/watch?v=ge-XiX43KPg
Thanks for your response, Brian. I have watched it and applied for a part of my script as well. However, I would prefer not to create many new dialogs :( Is there any way to apply for Msgbox function not to display many times when a button clicked without creating new dialog for it?
In the video it showed you how to create a flag (boolean variable) that will track when a dialog is open and if it is already open not open it again. Is this what you are looking for?
Thank you Brian. I did it xD. That's exactly what I am looking for.