Home > database >  PB in ASCII keyboard, please solve!!!!!!
PB in ASCII keyboard, please solve!!!!!!

Time:09-19

1, VB code, how to use in the PB pbm_keydown events???????
Such as: press A key immediately return A...
Private Sub Text3_KeyPress (KeyAscii As Integer)
The Static ret As Integer
The Static key As Byte

Key=KeyAscii
Ret=nsio_write (GPid, key, 1)
RBUF=Text3. Text
End Sub

CodePudding user response:

Can only be written in case one by one

CodePudding user response:

Well, the case

CodePudding user response:

Other events should be ok

CodePudding user response:

Such as in sle, realize the request of the building Lord, then the
Method 1:
Himself wrote a keydown method, using pbm_keydown
Inside it, choose case may traverse all keys

Method 2:
Write a method, called ue_show, for example, using pbm_enchange
Write code: parent. Tile=Right (this text, 1)//here will you according to the digital display in the window title, if the control key, there would be no content is displayed in the title (such as CTRL, Alt, pgup and PGDN, etc.), only show characters, letters and Numbers
  • Related