About Store Forum Documentation Contact



Post Reply 
how to get the text from a textline?
Author Message
Qbound Offline
Member

Post: #1
how to get the text from a textline?
Hi all,

i am pretty sure that this is a easy question smile

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
Find all posts by this user Quote this message in a reply
Harton Offline
Member

Post: #2
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
Visit this user's website Find all posts by this user Quote this message in a reply
Qbound Offline
Member

Post: #3
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
Find all posts by this user Quote this message in a reply
Post Reply