set digits into Editbox

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
joy
Posts: 124
Joined: Tue Apr 27, 2004 9:15 am
Location: Germany

set digits into Editbox

Post by joy »

Hi,

I want to use editboxes for setting the position of an object. The objects position is set by a vector (like this : irr::core::vector3df(0,0,0)). When loading the object I want to set the digits for x, y and z into three Editboxes where the user can change the numbers any time. To set Text into the Editbox I got the CGUIEditBox::setText(const wchar_t* text) function.
when I just insert the number it throws an error, because it is not able to convert that by itself.
Can anyone give me a hint how to convert a digit (irr::f32) into a text and vice versa or has any other suggestions?

thanks
puh
Posts: 356
Joined: Tue Aug 26, 2003 3:53 pm

Post by puh »

This topic could help you a little.
http://irrlicht.sourceforge.net/phpBB2/ ... +s32#10203
Please try to use search. There are several topics for that questions already. At least I saw them...
Last edited by puh on Wed May 19, 2004 9:34 am, edited 1 time in total.
joy
Posts: 124
Joined: Tue Apr 27, 2004 9:15 am
Location: Germany

Post by joy »

thanks for reply. Sorry for asking, but i used the search but I guess I was searching for the wrong terms.
Post Reply