ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 TImageEnView.OnSpecialKey
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

w2m

USA
1990 Posts

Posted - Feb 07 2015 :  15:28:31  Show Profile  Reply
TImageEnView.OnSpecialKey is being called twice for each key press (In my case up and down arrow keys or vkUp and vkDown) despite a key only being pressed one time. Can this be fixed please?

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development

xequte

38194 Posts

Posted - Feb 07 2015 :  16:58:46  Show Profile  Reply
Hi Bill

OnSpecialKey is called for every windows event CM_WANTSPECIALKEY message. You may want to suppress multiple events within a short period.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

w2m

USA
1990 Posts

Posted - Feb 07 2015 :  17:03:21  Show Profile  Reply
Nigel. I suggest that this event be improved so that end users do not have to add additional code just to to be sure only one key press event is handled by the event. That should be handled internally at the component level, maybe with parameters to detect a single key press.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

xequte

38194 Posts

Posted - Feb 08 2015 :  03:11:15  Show Profile  Reply
Hi Bill

We'll investigate this.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: