Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help opening a form via button ?
#1
im sure its extremely simple but i cant figure it out..lol. andyways im trying to figure out how to open another form from a button. so basically. i have the main menu and options (Form1) and i want to set it so that when i hit a button, it opens another form with seperate options. thanks guys.
Reply

#2
(11-23-2011, 20:51)TheCodKingz10 Wrote: im sure its extremely simple but i cant figure it out..lol. andyways im trying to figure out how to open another form from a button. so basically. i have the main menu and options (Form1) and i want to set it so that when i hit a button, it opens another form with seperate options. thanks guys.

double click on the button to show the code the in the button
type

Code:
form1.show()


Reply

#3
(11-24-2011, 02:55)No One Wrote:
(11-23-2011, 20:51)TheCodKingz10 Wrote: im sure its extremely simple but i cant figure it out..lol. andyways im trying to figure out how to open another form from a button. so basically. i have the main menu and options (Form1) and i want to set it so that when i hit a button, it opens another form with seperate options. thanks guys.

double click on the button to show the code the in the button
type

Code:
form1.show()
Error 1 'form1' is not declared. It may be inaccessible due to its protection level.

Reply

#4
did you replace form1 with your form name? Its the name you wrote when you created the form.
Reply

#5
(11-24-2011, 03:21)No One Wrote: did you replace form1 with your form name? Its the name you wrote when you created the form.
OH yea thanks dude i forgot to rename it Smile
Reply

#6
(11-24-2011, 03:48)TheCodKingz10 Wrote:
(11-24-2011, 03:21)No One Wrote: did you replace form1 with your form name? Its the name you wrote when you created the form.
OH yea thanks dude i forgot to rename it Smile

no problem
Reply

#7
^

WHO IS THIS GUY?
[Image: MaEIQ.png]
Reply

#8
(11-24-2011, 06:35)Pozzuh Wrote: ^

WHO IS THIS GUY?

I was in itsmods for a while and i've been busy but now im back
Reply

#9
I know.
[Image: MaEIQ.png]
Reply

#10
woh lol, thought you'd never return
WB dude!
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation Help Not opening... ItsSpaceEffecT 1 1,887 03-25-2013, 09:48
Last Post: kmg
Information [Tutorial] Making MORE glass in your form. Nekochan 27 12,110 03-22-2013, 22:04
Last Post: kokole
  Help Creating Wait Binds for a consecutive button presses? clxyeah 3 3,095 02-10-2013, 14:01
Last Post: koil
Thumbs Up [Release] opening titles and emblems 1.4 382 fulmine 2 2,849 05-11-2012, 07:44
Last Post: JariZ
  [PHP] Help with Form ScHmIdTy56789 5 2,999 04-13-2012, 00:32
Last Post: ScHmIdTy56789
  Help Add To Favorites Button mathieutje12 0 1,788 02-13-2012, 19:50
Last Post: mathieutje12
Information [Tutorial] Making a "Check on updates" form Nekochan 7 4,956 02-01-2012, 14:37
Last Post: Yamato
  [Tutorial] Making a login form OrangePL 12 6,329 02-01-2012, 11:22
Last Post: d0h!
  Button Elite_Nudel 3 3,269 12-12-2011, 17:51
Last Post: JariZ
  Mw2 lib 1.06 not opening help! nykingz23 2 2,443 10-15-2011, 15:30
Last Post: Nekochan

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.