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.
switch(id)
{
case 1101:
{
//get info from editbox and output to listbox
gui::IGUIElement* root = env->getRootGUIElement();
listbox->addItem(root->getElementFromId(901, true)->getText());