IF TYPE("_screen.ActiveForm.ActiveControl.Name") = "C" * We have an active control ELSE * We do not have an active control ENDIF