I have a couple of TMaskedits that are used to enter times into. Right now I have it set that if you exit the first TMaskedit without entering anything the on exit event flags it and returns the focus to that TMaskedit. This works well except that I have a button that will clear both fields, essentially resetting the form, that I cannot access unless there is something in the first TMaskedit. Is there someway I can determine in the on exit event of that TMaskedit what the next object is or how it was selected, i.e. a mouse click instead of a return or tab key so I can ignore the verification depending on what was clicked?
I can here the complaining now if I leave it the way it is right now.
