Code-nundrum *SOLVED*
Start your word games and stuff in here for people to take part and have fun with.
In the Button2_Click, in the second line of code, there's a button4 which shouldn't be there, I looked at your image and there's no Button4
I found it like at the first look, I was looking to the code and then I saw an odd "Button4.Text" and I thought: Well there should be another button. I scrolled up the page and there was no button4 in the image.
I found it like at the first look, I was looking to the code and then I saw an odd "Button4.Text" and I thought: Well there should be another button. I scrolled up the page and there was no button4 in the image.
Is it the button 4 is not declared or somthing
beacuse have button 4 in there
(I PROMISE I DIDNT COPY NEARY)
beacuse have button 4 in there
(I PROMISE I DIDNT COPY NEARY)
Last edited by Miutubevids on Sun Jan 24, 2010 6:03 am, edited 3 times in total.
I think I know,
Answer 1:
in the Form_Load event, the lines where you're changing the buttons' text, you must have text in textbox1.text, therefore you must put the last line of code("textbox1.text = etc.") first. Do you get it?
Answer 2:
Change all the + signs to & signs?
Answer 1:
in the Form_Load event, the lines where you're changing the buttons' text, you must have text in textbox1.text, therefore you must put the last line of code("textbox1.text = etc.") first. Do you get it?
Answer 2:
Change all the + signs to & signs?
having looked at the Code there does seem too be a "Button4" but ony 3 Buttons on the form
Yes Button4 was the error :P ..well done for spotting it cooll;
Took your time lol :lol:
Took your time lol :lol:
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
There's No Button4
Code: Select all
Button2.Text = "Two" + Button3.Text + "Happy" + TextBox1.Text + Button4.Text + TextBox1.Text
Copyright Information
Copyright © Codenstuff.com 2020 - 2023