Page 1 of 1

InputBox Enter vs OK or Cancel

Posted: 16 Jun 2022, 16:02
by Ryder
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

Re: InputBox Enter vs OK or Cancel

Posted: 16 Jun 2022, 17:00
by tidbit
we need code so we're not playing 20 questions and blindly guessing.

Re: InputBox Enter vs OK or Cancel  Topic is solved

Posted: 16 Jun 2022, 17:44
by Ryder
I just wanted to know if there was a known difference between enter and OK... the code would come later if needed.

However, it's not needed!

I still don't know if there is a difference between enter and OK, but I know what the problem was and unfortunately it's so esoteric it's not worth going into.

Thank you!

R