cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
getline in CLR
getline in CLR
May 17, 2011 at 3:20am UTC
thenewguy
(140)
If I have a textbox1 with the text:
This is line one
This is line two
This is line three
what would be the syntax for:
textBox2->Text = Line-Two-Of-TextBox1
May 17, 2011 at 8:11am UTC
kbw
(9488)
You need to extract the text:
http://msdn.microsoft.com/en-us/library/bb775460%28v=vs.85%29.aspx#setting_and_retrieving_text
Then you need to pick out line 2.
Then set the processed text in textBox2.
http://msdn.microsoft.com/en-us/library/ms633546%28v=vs.85%29.aspx
Topic archived. No new replies allowed.