Page 1 of 1

Textbox focus?

Posted: Tue Apr 12, 2016 11:56 pm
by Prometheus
Is there a built-in option to remove focus from a textbox? Upon launch it automatically has focus, and can sometimes mess with player names after they enter a game. Just a simple way to require the user to click the textbox itself to type, instead of automatically accepting input at launch.

Re: Textbox focus?

Posted: Wed Apr 13, 2016 1:14 am
The text box is probably receiving focus is because it is the first focus-able control. So you'll have to give focus to something else in the WindowName::onWake(%this) function.