Vb.Net - Input Box
Posted on 2013-06-12
Good Day Experts!
I have an inquiry about using the InputBox in VB.Net. It comes pre-populated with the Ok and Cancel buttons. All the examples I have found for determining that the Cancel button was clicked is based off of nothing being typed in and Ok clicked if something was typed in.
How can I determine which button was actually clicked in the event the User entered something and then wanted to Cancel?