Input Box Cancel
Input Box Cancel
(OP)
Hello All,
I have an application that requests an input from the user via an InputBox function.
Trouble is that the users response can legitamatly be an empty string, but if the user presses the cancel button the method should abort.
The cancel button of an Input box returns an empty string so how can i tell whether the user pressed the OK button with an empty input field or if they pressed the cancel button.
Thanks in advance for any advice.
cheers,
Hojo
Every time i learn something new it pushes some old stuff out of my brain.
I have an application that requests an input from the user via an InputBox function.
Trouble is that the users response can legitamatly be an empty string, but if the user presses the cancel button the method should abort.
The cancel button of an Input box returns an empty string so how can i tell whether the user pressed the OK button with an empty input field or if they pressed the cancel button.
Thanks in advance for any advice.
cheers,
Hojo
Every time i learn something new it pushes some old stuff out of my brain.
RE: Input Box Cancel
Good Luck
johnwm
________________________________________________________
To get the best from these forums read FAQ731-376 before posting
Steam Engine enthusiasts: www.essexsteam.co.uk
RE: Input Box Cancel
Regards,
Regg
RE: Input Box Cancel
I've put this into practise.
Regards,
Hojo