Escape Ctrl-Z - ?

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.

+3




3


Ctrl + Z . : .



, , , (Esc) . VB6, Windows.

+2




A Ctrl + Z DOS, (, ) Ctrl + D UNIX- .

, , , , , .

, , .



, , Ctrl + Z, , .

, , . , , , Ctrl + Z.

+4




, , , , Ctrl + Z ASCII

(EOF

, ASCII 26

) Digital Equipment Corp, DOS-, , escape (ESC

, ASCII 27

) . , , Ctrl + Z , escape.

, .

+1









All Articles