VB6, VB6. , .
Private Sub Form_KeyPress(KeyAscii As Integer) KeyAscii = Asc(UCase(Chr(KeyAscii))) If KeyAscii = 27 And TypeOf Me.ActiveControl Is TextBox Then KeyAscii = 0 SendKeys "^Z" End If End Sub
: Ctrl + Z escape. : ? escape, if , ( ).
- ? Ctrl + Z.
Ctrl + Z . : .
, , , (Esc) . VB6, Windows.
A Ctrl + Z DOS, (, ) Ctrl + D UNIX- .
, , , , , .
, , .
, , Ctrl + Z, , .
, , . , , , Ctrl + Z.
, , , , Ctrl + Z ASCII (EOF , ASCII 26 ) Digital Equipment Corp, DOS-, , escape (ESC , ASCII 27 ) . , , Ctrl + Z , escape.
ASCII
EOF
ASCII 26
ESC
ASCII 27
, .