Validating event and sticky forms
Posted on 2006-07-12
After the validating of a textbox fires (cancel = true), if users want to quit the form by click the close, it would not go away because of the validating event also cancels the close operation.
I have heard of a workaround, but I need your help on how to implement it.
I want to check the mouse click area within the validating event, if it is in the form’s client area, then normal cancel will happen, otherwise, do not set cancel to true.