Advertisement
4_2005-2006 Custom Controls/ Forms/ Menus #149700

StopTextBoxFromBeeping

Show how to make a text box not beep but do something else when I hit the Enter key. This code example makes nothing happen, for an extended period of time:

AI

KI-Zusammenfassung: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Quellcode
original-source
Sub Text1_KeyPress (KeyAscii As Integer) 

If KeyAscii = 13 Then '13 is Key_Return
KeyAscii = 0 
End If 

End Sub
Upload
Upload
Originalkommentare (3)
Wiederhergestellt von der Wayback Machine