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 oneCodePudding user response:
Well, the caseCodePudding user response:
Other events should be okCodePudding user response:
Such as in sle, realize the request of the building Lord, then theMethod 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