Do you think there is a difference between the active control and the control with focus? Of course not, they are one and the same.What do you think happens if you set focus to a control that already has focus? If you think the answer is something besides "nothing" then you are wrong.
Do you want help with you problem, or do you want to tell us why we are wrong even though your code clearly is not working for you?
If you want we can help rewrite your code to make it work, but telling us that the sky is not blue is not going to help.
What do you think happens if you set focus to a control that already has focus? Obviously you cannot do that
Do you want help with you problem, I'm intrigued to know your solution.