473,385 Members | 1,615 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

RichTextBox In WindowsForms

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
3 1287
djidan
9
common guys please help me
Dec 20 '08 #2
djidan
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
3,525 Expert 2GB
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

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

Similar topics

3
by: zbcong | last post by:
hello i put a richtextbox and a button on the winForm.when the button is clicked,it generate several threads to write to the richtextbox,the code snippet as following: private void...
12
by: M O J O | last post by:
Hi, If I inside a thread creates a RichTextBox and only use this inside the thread, will there be any thread problems? I need to convert between Text and RTF inside a thread. Thanks!! M...
2
by: JonnyT | last post by:
I searched high and low for an answer on how to auto scroll a richtextbox and now I finally have it. Since it took me a while to get a good efficient way of doing it that didn't require focus to...
5
by: Urs Vogel | last post by:
Hi When printing coloured text from a RichTextbox, it turns out to be a quite and timeconsuming job to position all differently coloured strings on the Page with DrawString(). Is there a...
4
by: D. Yates | last post by:
Hi, When a RichTextBox control doesn't have focus, it DOES NOT scroll to the last line that is added; however, if it does have focus, it WILL scroll to the last line added. I want to stop and...
9
by: James Wong | last post by:
Hi, I use the RichTextBox in my program. It will use different language in this RichTextBox (chinese and english characters), and it set the "DualFont" and use different fonts. By the way, how...
0
by: Vimalathithan | last post by:
I just developing a editor. I have provide the options like Bold, Italic, underlin, font change, font size change. These font options are keep in with one toolstripbutton. the toolstripbar keep...
8
by: Tom | last post by:
Inserting text into a RichTextBox is a snap! >> textBox1.Text += "Enter string 0000\n"; textBox1.Text += "Enter string 0001\n"; textBox1.Text += "Enter string 0002\n"; textBox1.Text += "Enter...
0
by: Linda Liu[MSFT] | last post by:
Hi CES, Thank you for posting here! I notice that you post a same issue in the microsoft.public.dotnet.framework.windowsforms.controls newsgroup and I have replied to that thread. For your...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.