| View previous topic :: View next topic |
| Author |
Message |
-Negative- Expert Cheater
Reputation: 0
Joined: 12 Oct 2007 Posts: 142
|
Posted: Sat Jun 14, 2008 2:40 am Post subject: [VB.NET] Label :) |
|
|
i have like, label1 label2 and label3, and i have textbox. lets say the label's text is :label1.text = lala label2.text = haha label3.text = nana
now, i have textbox. i want to make the textbox text:
lalalahahahananana
all the label's text. no space between
HOPW YOU UNDERSTAND. thx
|
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Sat Jun 14, 2008 2:46 am Post subject: |
|
|
o_O
You're doing something like
lbl1.Text + 1/2*lbl1.Text + lbl2.Text ...
Do you mean that you just want the text box to be the result of adding the three texts of the labels?
| Code: |
TextBox1.Text = Label1.Text + Label2.Text + Label3.Text
|
I think--VB isn't my choice of language.
_________________
|
|
| Back to top |
|
 |
-Negative- Expert Cheater
Reputation: 0
Joined: 12 Oct 2007 Posts: 142
|
Posted: Sat Jun 14, 2008 2:52 am Post subject: |
|
|
your good!
thx
|
|
| Back to top |
|
 |
Estx Expert Cheater
Reputation: 0
Joined: 04 Mar 2008 Posts: 172
|
Posted: Sat Jun 14, 2008 2:55 am Post subject: |
|
|
Exactly as samuri25404 said but use '&' instead of '+'.
You may need to go learn the basics of VB before you ask questions here -Negative-. Otherwise people will get frustrated with your lack of diligence towards the programming language (and general logic) therefore-in not helping you at all. Which would suck, yeah?
|
|
| Back to top |
|
 |
-Negative- Expert Cheater
Reputation: 0
Joined: 12 Oct 2007 Posts: 142
|
Posted: Sat Jun 14, 2008 9:28 am Post subject: |
|
|
i finally half done my P1nCr@ck3r with VB.NET... i need this label code for the pin tries... lol i forgot this code. i had full code notepad and i formatted my computer, well. i think u dont really care lol.
anyway, thank you, you can close
|
|
| Back to top |
|
 |
|