This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, February 12, 2009 11:10:51 PM(UTC)
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
#2
Posted
:
Sunday, February 15, 2009 3:04:00 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
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)
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)
Groups: Registered, Tech Support
Posts: 1,326
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.