Home Home programming Key Traping in Visual basic 6.0 Key Traping in Visual basic 6.0 UMCN 04:33 A+ A- Print Email double click on the textbox you want to trap, goto procedure and select keypress Sub Text1_KeyPress(KeyAscii as Integer)If KeyAscii >= vbKeyA And KeyAscii <= vbKeyZ ThenExit SubElseKeyAscii = 0BeepEnd IfEnd Sub Home, programming Tweet Share Share Share Share Share
Post a Comment