Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic (http://www.programmingforums.org/forum18.html)
-   -   Recall Item (http://www.programmingforums.org/showthread.php?t=8408)

FredVietnam Feb 14th, 2006 5:31 PM

Recall Item
 
how can i bring something from one form in a textbox to another form?

master007 Feb 14th, 2006 5:52 PM

text2.text=form1.text1.text

mention the form

FredVietnam Feb 14th, 2006 9:01 PM

where do i put that?

how do you make clicking a button open another form?

master007 Feb 14th, 2006 9:47 PM

:eek:
the above code would go in the 2nd form


to open another form with a button, double click button. Within the click event type e.g.

Private Sub Command1_Click()
Form2.Show
End Sub

you can use Form1.Hide to hide the 1st form if this is what you want


All times are GMT -5. The time now is 4:30 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC