How can I make where the main form is there, then they click on a button, and it pops up the next form, but within the data area... Kind of like the Options dialogue, but they are buttons and not the tabs...
Printable View
How can I make where the main form is there, then they click on a button, and it pops up the next form, but within the data area... Kind of like the Options dialogue, but they are buttons and not the tabs...
In the button event:
form1.visible = false
form2.visible = true
alright, that works, but I cant use a form can I? cause I want all the info to stay in the one form...
Say you want to click a button on form1 and make it change text on form2, than you'd do:
Is that what you are trying to do?Code:Private Sub Command1_Click ()
form2.visible = True
form2.text1.text = "You clicked Command1 on form1 and changed Text1 on form2!"
End Sub
yeah, but, will it just put in the text, or everything? (including the buttons, and pictures...) and display it into a frame on form 1. (i.e. an example of this would be the layout on Napster)
Buttons etc will only appear on form1 if you code them to appear on form1. Whilest form1 is invisible you can add a control array of buttons to it, and muck around with the properties till you get it right. If you have not directly put a button on form1, and not coded it to happen, then it will not simply appear because it is called from form2