Some keyboard keys do not work in a User control
Posted: 02 Apr 2008, 08:07
Hello TiKu,
I've placed your Unicode Edit Control into a User Control. It seems me, that the KeyDown event disappears somewhere inside for several keys. The RIGHT, LEFT keys do not function - do not move the insertion point. If i define the KeyDown event, it does not fire. But for other keys - PGDN, PGUP , for example - it works correctly, the event fires.
If the Edit control is placed directly on the form, then - of course - everything is O.K.
Zoltan
I've placed your Unicode Edit Control into a User Control. It seems me, that the KeyDown event disappears somewhere inside for several keys. The RIGHT, LEFT keys do not function - do not move the insertion point. If i define the KeyDown event, it does not fire. But for other keys - PGDN, PGUP , for example - it works correctly, the event fires.
If the Edit control is placed directly on the form, then - of course - everything is O.K.
Zoltan