| Mirage Source http://miragesource.net/forums/ |
|
| Making multiple textboxes load into one final textbox? http://miragesource.net/forums/viewtopic.php?f=201&t=4707 |
Page 1 of 1 |
| Author: | Nean [ Fri Nov 07, 2008 6:11 pm ] |
| Post subject: | Making multiple textboxes load into one final textbox? |
Is this possible? So for example, in textbox 1 I would have "this " and in textbox 2 I'd have "is " and in three I'd have "an example" and then I click a button, and they all load in the last text box to say "This is an example", I'm trying to make a generator for RP chars (Don't judge me. This is just for the hell of it), and from the last textbox, it inputs the text into a textfile. I already have the textfile part figured out, I just need to know how to make all the code from the textboxes add themselves to the last textbox. Any help would be appreciated. |
|
| Author: | Rian [ Fri Nov 07, 2008 6:29 pm ] |
| Post subject: | Re: Making multiple textboxes load into one final textbox? |
txtLastTextBox.Text = txtBox1.Text & " " & txtBox2.Text & " " & txtBox3.Text |
|
| Author: | Nean [ Fri Nov 07, 2008 6:46 pm ] |
| Post subject: | Re: Making multiple textboxes load into one final textbox? |
Sonire wrote: txtLastTextBox.Text = txtBox1.Text & " " & txtBox2.Text & " " & txtBox3.Text Awesome, it works. Is there any way to make it so that it's formatted like this automatically though? Name Race Age Etc, Etc. As it is now it does: Name: Race: Age:, all on one line. Thanks for the help, I deeply appreciate it. |
|
| Author: | Rian [ Fri Nov 07, 2008 6:49 pm ] |
| Post subject: | Re: Making multiple textboxes load into one final textbox? |
txtLastTextBox.Text = txtBox1.Text & vbNewLine & txtBox2.Text & vbNewLine & txtBox3.Text |
|
| Author: | Nean [ Fri Nov 07, 2008 7:00 pm ] |
| Post subject: | Re: Making multiple textboxes load into one final textbox? |
Sonire wrote: txtLastTextBox.Text = txtBox1.Text & vbNewLine & txtBox2.Text & vbNewLine & txtBox3.Text Hmm, that didn't work. It just adds two small black squares between each one. :\ |
|
| Author: | Nean [ Fri Nov 07, 2008 8:08 pm ] |
| Post subject: | Re: Making multiple textboxes load into one final textbox? |
Hahahahaha. Wow. I'm stupid. It didn't have multi-line turned on. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|