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
set digits into Editbox
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...
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.