Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, February 12, 2009 11:10:51 PM(UTC)

makumar  
makumar

Groups: Registered
Posts: 23


Hi,

I am using Document Leadtools 14.5 & Delphi interface. In my
application, I have written Key handler & on pressing DEL key, the
selected annotation object should be deleted. Now, I have drawn an Note
object. After that I selected it & pressed DEL key. Problem is
that, when control enters Key handler, the Note is already deleted, in
such case my DEL key gives error. I don't know how this Note object is deleted before executing my DEL key routine.
Is annotation handles this DEL key? If yes, then how I can stop annotation to handle DEL key?

Please help me out.

Thanx & Regards,
Manoj Kumar
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, February 15, 2009 3:04:00 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

Manoj,

LEADTOOLS handles the DEL key to delete annotation objects.
Why exactly do you want to handle the DEL key? What are you trying to do?

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#3 Posted : Monday, February 16, 2009 1:55:22 AM(UTC)

makumar  
makumar

Groups: Registered
Posts: 23


Hi Badwan,

Thanx for your reply.

Actually, while deleting Notes or any object, I have to take some
action. Say, on deleting a rectangle, I have to update some
calculations. And lots of other stuff. So is it possible that that the
annotation DEL key functionalilty doesn't work, & my DEL key handler should execute.

Thanx & Regards,
Manoj Kumar
 
#4 Posted : Monday, February 16, 2009 6:29:13 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

You can handle the OnAnnDestroy event to be notified that an object is being deleted. Also, you can handle the OnKeyDown event to be notified that the DEL key is pressed.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.098 seconds.