>There is nothing in the VALID method/event of the previous control, which is the EDIT cutton.
>
In the Edit button LostFocus event put
messagebox(thisform.Cancel.ReadOnly)
messagebox(thisform.Cancel.Enabled)
and then click on the Cancel button.
>>Are you returning false from Valid method of the previous control? Or do you have some code in its LostFocus preventing it from losing the focus?
If it's not broken, fix it until it is.
My Blog