"about
:mozilla" <ab***@mozilla.com> schrieb:
I'm just a newbie in vb.net and I have this terrible problem.
I want to use inputbox to get number.
-User can give numbers starting from 0
-If cancel is pressed then default number stays
-If text is given then messagebox gives error
The 'InputBox' is pretty limited in its functionality. It's currently
impossible to decide whether the user clicked the "Cancel" button or not.
As you say, input cannot be limited to a certain format too. If you want a
good user experience, implement a form that replaces 'InputBox' and provides
the additional functionality.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>