You are not logged in.
Dear visitor, welcome to Aqua Computer Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
juli
Full Member



juli
Full Member



|
|
Source code |
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



>
>
>
>
>
>
>
>
>
>
>
>

Quoted from "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



danke nochmal
Quoted
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


|
|
Source code |
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 |
|
|
Source code |
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 |
-