Hello.
I'm currently writting a few dialogs, and stopped on canceling user choice.
Lets say, that i have ComboBox (working as a DropDownList). How to cancel
user selection, when his choice is invalid?
I'll try to use Validating event, and set Cancel property of CancelEventArgs
event argument, but after this action other controlls stops working
correctly....
regards,
Pawel Janik
* "Pawel Janik" <janos@poczta.gazeta.pl> scripsit:
> I'm currently writting a few dialogs, and stopped on canceling user choice.
>
[quoted text clipped - 4 lines]
> event argument, but after this action other controlls stops working
> correctly....
What about resetting the choice if it's "invalid"?

Signature
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/
Pawel Janik - 30 Jun 2004 08:22 GMT
> * "Pawel Janik" <janos@poczta.gazeta.pl> scripsit:
> > I'm currently writting a few dialogs, and stopped on canceling user choice.
[quoted text clipped - 7 lines]
>
> What about resetting the choice if it's "invalid"?
yes, this is the "goal". But how to do this? :).
Searching a little bit more on googles, i've found, that i have to do this
by writing down last "valid" option, and, where user chooses "bad" value,
setting previous manualy.
--------
Pawel Janik