By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,779 Members | 1,291 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,779 IT Pros & Developers. It's quick & easy.

RichTextBox In WindowsForms

P: 9
hello,

i'm bullding a chat and i want to be able to append the text to the bootem of the richtextbox, i have searched and didn't found anything about this issue.
Can anyone help me please?
Dec 20 '08 #1
Share this Question
Share on Google+
3 Replies


P: 9
common guys please help me
Dec 20 '08 #2

P: 9
WOW this is a great site(forum) that people answer my question,
well ok i know now not to ask my questions here, i will go some where else...
Dec 20 '08 #3

tlhintoq
Expert 2.5K+
P: 3,525
At 12:27 you posted your question with no part part of your code to show how you were currently putting text into a box.

2 hours 10 minutes later you 'nudge' your thread with "Hey, come on guys". Apparantly you think Bytes is a facility staffed with people 24/7 to provide free help.

At 8:15am (Less than 8 hours from your original post) you berate the member of this forum for not jumping on top of your question



All because you couldn't be bothered with a little bit of experimentation to come up with:

Expand|Select|Wrap|Line Numbers
  1.   myTextBox.Text = myTextBox.Text + NewTextStringVariable;
Your question pretty much spells out the answer...
"I want to take the text that is already in the text box, and add some new text at the end." Its like one of those word problems from math class back in high school. If you can translate the word problem into a formula, then you can figure out the answer. Same thing here. Take your goal, turn it into a sentence.

"The text already in the text box" = myTextBox.Text
"And and some new text" = + NewTextStringVariable

You could also reduce the above code to:
Expand|Select|Wrap|Line Numbers
  1.  myTextBox.Text += NewTextStringVariable; 
But again, its a guess how those code examples will work with your project because you didn't follow the posting guidelines and provide a snippet of code from your project where you are having trouble. That's how its supposed to work. The people here don't just give you the answer because you're in a hurry, post nudges every couple hours, are rude towards them or are too lazy to do a little Google searching or reading any of the thousands of on-line How-To articles. You are supposed to actually make an effort on your own to learn/do/accomplish. If you run into trouble then post the code that you've tried so far or is throwing errors and the people here will be more than happy to look at it and help you out.

May I suggest now that if you are the type of person who is not going to make an effort to experiment with code, or make an effort to research on your own, or are going to berate others not helping you inside of 2 hours that maybe coding is not a career choice you should be pursuing.
Dec 21 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.