Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Visual Basic >> Snippet

Capture Enter key


'Put In keypress event
If KeyAscii = 13 Then
   KeyAscii = 0
    'do whatever else you want done
End If