After programming with VFP since 1995, I have finaly decided to solve the problem of a combo box not firing the valid event when it loses focus. I have tested the following and it appears to work fine. Before I add this to my combo baseclass anyone have any comments?
Combo LostFocus:
IF THIS.VALID() = .F.
THIS.SETFOCUS()
NODEFAULT
ENDIF
Combo Valid:
IF oDevice.ValidateField(device.id,'fk_vendor',this.value) = .F.
WAIT WINDOW "Invalid data" NOWAIT
RETURN .F.
ENDIF