Editbox for numbers only
Posted: Wed Aug 09, 2006 17:04
Hi guys!
This is my firts project with CEGUI and I've got a problem which seems to be very simple, but for me it's impossible to solve it. All I need to do is an editbox for numbers only.
I tried 2 ways. First was of course Spinner, but the problem was that I could change the number only by the arrows (not by writing it in the box). I got similar result with the second way - ValidationString and RegEx. This time it was impossible to change the text at all.
I also tried to find any topic which covered this problem but I found none.
So if you could please give me at least some hint...
Thanks in advance
Must Ill
This is my firts project with CEGUI and I've got a problem which seems to be very simple, but for me it's impossible to solve it. All I need to do is an editbox for numbers only.
I tried 2 ways. First was of course Spinner, but the problem was that I could change the number only by the arrows (not by writing it in the box). I got similar result with the second way - ValidationString and RegEx. This time it was impossible to change the text at all.
I also tried to find any topic which covered this problem but I found none.
So if you could please give me at least some hint...
Thanks in advance
Must Ill