I now know this event is quirky.

I am seeing something odd, *though*.

When I set a break point inside a validating Event Handler, I see the

desired behavior when setting cancel = True.

"If the test fails, you set the Cancel property of the Validating event's

CancelEventArgs to True. This cancels the Validating event and causes the

focus to return to the control. The practical effect is that the user cannot

leave the control until the data is valid."

However, when not running in debug mode I do not see the desired behavior

when cancel = True. I am able to leave the control even though the data is

not valid.

Make sense to anyone?





Greg Robinson

Custom Data Systems, Inc.

www.cds-am.net