Panel Keyboard input

I have a “controlpanel” vgui element with several controls on it that come with several text fields. How would I make it so that clicking those text fields allows me to enter text in those? Currently the keyboard inputs still go to the player movement/weapon selection.

[editline]09:53PM[/editline]

**[Panel.SetKeyboardInputEnabled

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Panel.SetKeyboardInputEnabled)** on the main panel doesn’t seem to help.

Have you tried **[Panel.RequestFocus

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Panel.RequestFocus)** in conjunction with OnMousePressed?