Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Bug in EWB2 OnKeyPress
Wed, Jul 8 2015 11:02 AMPermanent Link

A.Kyr


The OnKeyPress event in TEdit (i haven't tested in other classes) doesn't returns correctly in Key param most of non letter chars and none of numeric keypad (In the edit control the expected char is displayed ok)
examples: (1st the expected char 2nd the returned in Key param)
.   =>   3/4
/   =>   reversed up down ?
,   =>   1/4
=   =>   »
etc

i can send a test project but is very easy to reproduce it using just a TEdit and a TMultiLines control in a form

My enviroment is Windows7 64bit but the problem appears also in Samsung Galaxy2 mobile
Wed, Jul 8 2015 1:02 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com


<< The OnKeyPress event in TEdit (i haven't tested in other classes) doesn't
returns correctly in Key param most of non letter chars and none of numeric
keypad (In the edit control the expected char is displayed ok) >>

Yes, it's grabbing the wrong key codes for certain keys.  I'll have a fix
out for this soon.

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Jul 8 2015 1:10 PMPermanent Link

A.Kyr


Thank you Tim.

Best Regards

A.Kyriakos
Image