Qbound
Member
|
how to get the text from a textline?
Hi all,
i am pretty sure that this is a easy question
How do i get the content of a textline?
m_strUser_UserName = *m_GUIOBJS_CREATE.getTextLine( "input_account" )();
m_strUser_Password = *m_GUIOBJS_CREATE.getTextLine( "input_password" )();
i didn't found a get or text method. I found in tutorial 08 GUI.... something but this dosen't work.
m_str are std::string.
cu
Oliver
|
|
07-29-2010 09:08 PM |
|
Harton
Member
|
RE: how to get the text from a textline?
Code:
TextLine text_line;
Str my_text;
my_text = text_line();
|
|
07-29-2010 09:40 PM |
|
Qbound
Member
|
RE: how to get the text from a textline?
Hi thanks for your reply.
I use the std::string and not the EE::Str therfore it is a little bit different.
here is how it works for me:
Code:
m_strUser_UserName = (Str8)m_GUIOBJS.getTextLine( "input_account" )();
Without the cast you only get the first char of the textline.
cu
Oliver
|
|
07-30-2010 03:01 PM |
|