BeforeFieldGetFocus event

This BeforeFieldGetFocus event is fired before the focus is placed into a field. The script can move the focus to a different field.

Important This event is fired only when the operator has validated the previous field by pressing Enter. It is not fired when the operator navigates from one field to another by pressing the Tab or an Arrow key.
ValidationForm_BeforeFieldGetFocus( _
    ByVal LastFocusField As String, _
    ByRef NextFocusField As String, _
    ByVal pXDoc As CASCADELib.CscXDocument _
     )
LastFocusField

Field that last contained the focus.

NextFocusField

Field gets the focus next.

pXDoc

XDocument object that is currently loaded.