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]
[b][url=http://wiki.garrysmod.com/?title=Panel.SetKeyboardInputEnabled]Panel.SetKeyboardInputEnabled [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] on the main panel doesn't seem to help.
Have you tried [b][url=http://wiki.garrysmod.com/?title=Panel.RequestFocus]Panel.RequestFocus [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] in conjunction with OnMousePressed?
Sorry, you need to Log In to post a reply to this thread.