| Forum: VB.NET |
Thema:
Re: Enter abfangen |
Von:
Till Groos (
17.11.2003 12:28) |
Hallo ?,
Private Sub TextBox1_KeyPress(ByVal sender As Object,
ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
If e.KeyChar = ControlChars.Cr Then
MessageBox.Show("ENTER")
End If
End Sub
hth
mfgTill
| Betreff |
Von |
Datum |
|
|
|
|
G.
Guest
|
17.11.2003 15:27 |
|
|
|
|
G.
Guest
|
18.11.2003 21:33 |
|
|
|
Antworten
Vorsicht bei der Eingabe: Die Zeichen ' oder -- sind nicht erlaubt!