Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Move text from one form to another
Message
From
12/12/2004 21:39:54
 
 
To
10/12/2004 21:20:55
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00968227
Message ID:
00968652
Views:
9
Code on Main form to call Statistics form:

Private Sub mnuStats_Click()
frmStatistics.Show vbModal, Me ' show statistics form
If Len(txtGoTo.text) > 0 Then ' if text is returned from statistics form
Call cmdGoTo_Click
End If
End Sub


Code on Statistics form, if clicked, returns to Main form:

Private Sub txtMaxDepthDive_DblClick()
frmDiveLog.txtGoTo.Text = txtMaxDepthDive.Text
Unload Me
End Sub

This is how I am trying to do it. No text is being transfered from the Statistics form.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform