Valid Event

Applies To   See Also

Occurs before a control loses the focus.

Syntax

PROCEDURE Control.Valid
[LPARAMETERS nIndex]

Parameters

nIndex

Uniquely identifies a control if it is in a control array.

Remarks

If the Valid event returns true (.T.), the control loses focus. If the Valid event returns false (.F.), the control does not lose focus.

The Valid event can also return a numeric value. Returning a numeric value has one of three effects: