I can't enter text in the EditBoxes

Dec 23, 2007 at 9:21 PM
I can't enter text in the EditBoxes, and they all say "Sample Text" that i can't remove. Luckily they don't all say that in game.

In game the cursor moves to the EditBox, but i can't enter text or anything in it. I can't even see it, but the cursor is where the EditBox is supposed to be.
Dec 23, 2007 at 11:05 PM
The solution was to define a font. Seems like a font isn't defined, but is needed if you want to display more then a cursor.
Seems silly to me, but i'm sure there is a valid reason for this.
Aug 16, 2009 at 5:19 PM

Make sure in the properties window it is marked as Visible and that the Characters settin is set to the number you want (default is 0)


Jun 29, 2011 at 2:40 PM

The solution is that when creating a new input box, you can use the InputBosTemplate template to create the background and border. In other words, you need to inherit from InputBosTemplate template for your editbox.