Hi Christopher ---
Yup. There sure is. The following code will pop a WAIT WINDOW telling you where focus is headed (LostFocus code):
FOR i = 1 to THIS.Parent.ControlCount
IF THIS.Parent.Controls(i).TabIndex = THIS.TabIndex + 1
WAIT WINDOW "Next will be "+THIS.Parent.Controls(i).Name
ENDIF
ENDFOR
Adapt as you see fit :-)
>Is there any way to tell, at the time the Valid or LostFocus event fires for a control, what other control was clicked on (or tabbed to)?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05