J
Jim Heavey
Hello, there is something that I am forgetting, I just don't remember what
is.
I create a form which will server as a dialog box.
I set the "CancelButton", "AcceptButton" and the "FormBorderStyle =
"FixedDialog" for the properties of the form.
When the user presses the "Accept" button, I do some editing so see if the
data is acceptable. When the data is NOT acceptable, I think I am suppose
to set some property on the form? which will not allow the dialog box to be
closed. As of now, when I find an error, the machine just locks up.
What am I suppose to set to set the DialogResults and/or cause the form not
to close?
Thanks in advance for your assistance!!!!!!!!
is.
I create a form which will server as a dialog box.
I set the "CancelButton", "AcceptButton" and the "FormBorderStyle =
"FixedDialog" for the properties of the form.
When the user presses the "Accept" button, I do some editing so see if the
data is acceptable. When the data is NOT acceptable, I think I am suppose
to set some property on the form? which will not allow the dialog box to be
closed. As of now, when I find an error, the machine just locks up.
What am I suppose to set to set the DialogResults and/or cause the form not
to close?
Thanks in advance for your assistance!!!!!!!!