get editbox text
Posted: Sat Oct 02, 2004 4:08 pm
Hi,
i created an editbox in my gui and now i don't know how i should get the text of the box.
first i thought to record the key events in my event receiver, but that whould be a too long code.
then i saw in the irrlicht code in CGUIEditBox.cpp that there is a variable called Text, which i think is the text i want to have, so how do i get to this text? i didnt' find a function whcich returns me this text and i don't want to edit the irrlich code yet.
thx already
eT.
i created an editbox in my gui and now i don't know how i should get the text of the box.
first i thought to record the key events in my event receiver, but that whould be a too long code.
then i saw in the irrlicht code in CGUIEditBox.cpp that there is a variable called Text, which i think is the text i want to have, so how do i get to this text? i didnt' find a function whcich returns me this text and i don't want to edit the irrlich code yet.
thx already
eT.