David,
You probably need some selective nodefault and explicit dodefault or form:: calls in the Deactivate to get this to work. What is launching the other form? If you'd do it from a command button on the form itself you'd avoid the problem because the button would have focus.
>I wish to change the object focus when a form is deactivated. Setfocus() doesn't achieve this, because it refocuses the whole form.
>The reason is to avoid a grid (or more precisely an object in the grid) having focus when another form fires up. Grids having focus can cause the alias() to change unexepectedly while running code external to the form.
>
>In addition, is there any way of finding the current object of an inactive form? VFP must know this internally because it clearly "remembers" the active object when activating / deactivating forms.