Unicode Controls & Classes for VB6 - Version 4

ctlUniTextBoxXP.KeyUp Event

The KeyAscii or KeyCode parameter can have negative values (because of Unicode).
You can manage the KeyAscii / KeyCode value simply by using the [clsCommonWrapper.ChrW] or [clsCommonWrapper.AscW] methods.
It is also possible to obtain the real Unsigned Integer (in a VB6 long) from the negative value simply by converting the KeyAscii / KeyCode value to a Long using the [clsCommonWrapper.MakeDWord] (KeyAscii, 0) method.

Syntax
Public Event KeyUp (ByRef KeyCode As Integer,
ByRef Shift As Integer)
Parameters
Parameter Description
ByRef KeyCode As Integer
ByRef Shift As Integer
Remarks