Getting focus for a control in a non-popup derma frame

Im trying to get it so that you can edit text in a box in a non popup DFrame.
I tried to request focus on click but that doesnt work.
Is there any way to force the keyboard focus for the control when it is clicked?
I really dont want to make the frame a popup because it would take all the focus and you couldnt play while the gui is open.