Hi Gene,
I think there is.
The valid event processes a return value.
I've used this feature already in Fox/DOS to implement a "geographical"
navigation in a form, i.e. if the user presse Up, then focus does not go to the
previous control (which is may be left of the active control) but to the control
above the active control etc.
a) logical value:
.T. : validation was ok and focus advandes to the next control
This is the normal behaviour if there is no RETURN statement in the valid
routine, since foxpro returns .T. from any function without return statement.
.F.: validation was not ok, focus stays in this control and an error message
appears (this at least was the case in old fox dos)
b) numerical value:
If it is 0, then focus stays in the control. Nothing else (like error message)
happens-
If it is a positive number, focus advances this number of controls in activation
order.
If it is a negative number, focus goes back this number of controls.
When the absolute value of the number is larger than there are controls, then
focus advandes to the first respectively last control in activation order (or
maybe an error occurs, I don't remember exactly)
c) object name
simply the name of an object, not a string!
If that control exists, focus goes to that control.
Have a look at "Valid event" and "Return" in the help file.
Just have a try since the explanation in the help is quite poor.
Regards
Bernhard Sander