Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Move text from one form to another
Message
De
12/12/2004 21:39:54
 
 
À
10/12/2004 21:20:55
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00968227
Message ID:
00968652
Vues:
8
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform