hey,
Foglendes Problem. sagen wir mein Code sieht so aus:
Jetzt möchte ich aber das wenn in text1.text "hallo" steht das er die Form1.Caption auchnicht ändert. (also er soll alles andere was in Command1_Click steht NICHTMEHR machen.
ich habe mir schon überlegt sowas wie
Aber das kann natürlich nicht funktionieren. ;D
Jemand ne idee?
Danke.
mfg dr_pepper
Foglendes Problem. sagen wir mein Code sieht so aus:
Code:
Private Sub Command1_Click()
If Text1.Text = "hallo" Then
MsgBox "hallo ist die falsche antwort"
End If
Form1.Caption = "k"
End Sub
Jetzt möchte ich aber das wenn in text1.text "hallo" steht das er die Form1.Caption auchnicht ändert. (also er soll alles andere was in Command1_Click steht NICHTMEHR machen.
ich habe mir schon überlegt sowas wie
Code:
Private Sub Command1_Click()
If Text1.Text = "hallo" Then
MsgBox "hallo ist die falsche antwort"
End Sub
End If
Aber das kann natürlich nicht funktionieren. ;D
Jemand ne idee?
Danke.
mfg dr_pepper