This is soooooo simple that I can not find any documentation on it.
If I use a InputBox$, how do I tell if the user pressed the OK, or the Cancel, or just closed the InputBox$ instead of the Cancel?
I thought about the return value being blank (but there are cases I need to know if the reply is blank), I even thought about some invalid return string. But there must be some way of knowing what button was pressed and not blindly using the returned string.
Am I missing something here??????
If I use a InputBox$, how do I tell if the user pressed the OK, or the Cancel, or just closed the InputBox$ instead of the Cancel?
I thought about the return value being blank (but there are cases I need to know if the reply is blank), I even thought about some invalid return string. But there must be some way of knowing what button was pressed and not blindly using the returned string.
Am I missing something here??????
Comment