Un petit PROBLÈME Avec Variable !

ATH|500| - 9 août 2001 à 03:53
 NitRic - 9 août 2001 à 04:51
Bon voici mon problème c'est que je veux mettre du texte et puis ma variable apres regarder !

Option Explicit
Dim nom1$
Private Sub Text1_click()
If Text1.Text = "Écrivez-ici !!!" Then
Text1.Text = ""
End If
End Sub

Private Sub Text1_change()
nom1$ = Text2.Text
If Text1.Text = "salut" Then
Label1.Caption = "salut nom1$"
End If
End Sub

Private Sub Text2_click()
If Text2.Text = "Écrivez votre nom ici !!!" Then
Text2.Text = ""
End If
End Sub

Bon mais moi ce que je veux faire c'est de pouvoir mettre mon nom1$ dans la phrase "Salut nom1$"
mais ça fonctionne pas please donner moi vos réponce !

1 réponse

Private Sub Text1_change()

nom1$ = Text2.Text

If Text1.Text = "salut" Then
Label1.Caption = "salut " & nom1$
End If

End Sub
0
Rejoignez-nous