Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement