Du bist nicht angemeldet.
juli
Full Member
juli
Full Member
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 |
Private Sub text1_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then form2.Show If LCase$(textfeld.text) = "w" or LCase$(textfeld.text) = "m" then 'Wenn m oder w drin steht das ausführen end if end if [...] End If |
juli
Full Member
Zitat von »r1ppch3n«
@saiyaman
ach quatsch, so blöd wär sicher keiner
ma abgesehen davon dass der typische vb fan keine c compiler benutzt...
juli
Full Member
Zitat
Private Sub mw_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If LCase$(mw.Text) = "w" Then
a4.Show
ElseIf LCase$(mw.Text) = "m" Then
a4.Show
End If
End If
End Sub
![]() |
Quellcode |
1 2 3 |
Private Sub mw_KeyPress(KeyAscii As Integer) If KeyAscii = 13 and (LCase$(mw.text) = "w" or LCase$(mw.text) = "m") Then form2.Show End If |
![]() |
Quellcode |
1 2 3 4 5 |
Private Sub mw_KeyPress(KeyAscii As Integer) If KeyAscii = 13 then if LCase$(mw.text) = "w" or LCase$(mw.text) = "m" Then form2.Show End if End If |
-