InputBox Enter vs OK or Cancel
Posted: 16 Jun 2022, 16:02
Hi all
I have an input box that opens when I click a GUI button.
If I decide not to enter anything into it and just hit Return, the InputBox dismisses itself... and can be called again by the aforementioned button.
HOWEVER
If I click "OK" to dismiss the inputbox (or cancel), it does not dismiss itself!
Instead it stays open (moved behind my alwaysontop GUI window.
Now, I assumed that the OK button and pressing Return were equivalent.
Is this a bad assumption?
Thank you for your kind help
R
I have an input box that opens when I click a GUI button.
If I decide not to enter anything into it and just hit Return, the InputBox dismisses itself... and can be called again by the aforementioned button.
HOWEVER
If I click "OK" to dismiss the inputbox (or cancel), it does not dismiss itself!
Instead it stays open (moved behind my alwaysontop GUI window.
Now, I assumed that the OK button and pressing Return were equivalent.
Is this a bad assumption?
Thank you for your kind help
R