The first form has 3 option buttons to choose which character you want to play with. How do I make it remember which character was chosen in a different form? Please, in really really simple language. I don't know much about Visual Basic.Making a game in VB: How do I use variables between forms?
u declare the variable as a global variable. open the code window and then u will see drop down text boxes on the top. u change the options int those boxes to general declaration with scope as public. then the variable can be accessed from anywhere in ur whole projectMaking a game in VB: How do I use variables between forms?
Have a look here. It might help.
No comments:
Post a Comment