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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 TImageEnView.OnSpecialKey

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
w2m Posted - Feb 07 2015 : 15:28:31
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
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Feb 08 2015 : 03:11:15
Hi Bill

We'll investigate this.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
w2m Posted - Feb 07 2015 : 17:03:21
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
xequte Posted - Feb 07 2015 : 16:58:46
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