a question about the edit box

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Echilon
Posts: 6
Joined: Tue Jan 17, 2012 5:18 am

a question about the edit box

Post by Echilon »

Is there some way to take what is written in the edit box and save it? I am trying to come up with something akin to a password box where it checks to see if what you type into the edit box matches a predetermined string. I have read up and down the API for it and for IGUIElement and did not see an explicit method call that would return what was written in the text box.
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Re: a question about the edit box

Post by serengeor »

Echilon wrote:Is there some way to take what is written in the edit box and save it? I am trying to come up with something akin to a password box where it checks to see if what you type into the edit box matches a predetermined string. I have read up and down the API for it and for IGUIElement and did not see an explicit method call that would return what was written in the text box.
Try looking harder. Just think how pointless would the edit box be if you couldn't do that :)
*hint: look something related to text :wink: *
Working on game: Marrbles (Currently stopped).
Echilon
Posts: 6
Joined: Tue Jan 17, 2012 5:18 am

Re: a question about the edit box

Post by Echilon »

is it the getText method? o.O
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Re: a question about the edit box

Post by serengeor »

Echilon wrote:is it the getText method? o.O
AFAIK yes :)

Though the documentation explanation is a bit confusing (if it is so) :roll:
Working on game: Marrbles (Currently stopped).
Post Reply