I am currently attempting this with an Edit Control. However, it appear that what ever object I try this with it fails.
I have tried _SCREEN.ActiveForm and I can get the name of the form in focus. Although, if I were to go a little further and issue a _SCREEN.ActiveForm.ActiveControl I never get a reference to the currently focused object.
As a work around, I've implemented something that Edward Pikman recommended. Eds approach was to create a property on the form to keep track of the last focused object, and in every object's GotFocus event, update that form property.
This is really weird.
As I said I am using VFP 06.00.8167.00