I have a TextInput inside of a Window.
How can I set focus on the TextInput so that the user doesn't have to click on on it first before typing? I've done this is Flash, but things are different now
I have a TextInput inside of a Window.
How can I set focus on the TextInput so that the user doesn't have to click on on it first before typing? I've done this is Flash, but things are different now
const t = new TextInput({color:white})
new Window().center().add(t);
t.focus = true;
For some reason, the cursor is not showing up at start but you can type there...
Thanks!
Too bad about the cursor, but it might be ok anyway!
We can look into it...
The cursor should show now in ZIM 017. Cheers.