>One thing I found out was that _screen.activeform.activecontrol gives an error if there is no active control. I was able to accomodate for this in my error handler though.
Hi Evan,
You can avoid the error handler altogether:
If Type("_Screen.ActiveForm.ActiveControl") == "O"
_Screen.ActiveForm.ActiveControl.SetFocus
EndIf
Next feature for UT: Color coding! (Won't let me use <FONT>)
:-)
Sylvain Demers