Page 1 of 1

Delete key works on stamp palette

Posted: Tue Oct 03, 2017 11:20 am
by lidds
I have removed the delete and rename stamp buttons from the stamp palette so that certain users can not modified them. However if I press the "Del" button on my keyboard it still allows me to delete the stamp this way, I am not sure if Rename still works in this manner as well.
deleteStamp.png
What I want to do is stop any modification to the stamps using keyboard shortcuts, how could I do this?

Thanks

Simon

Re: Delete key works on stamp palette

Posted: Tue Oct 03, 2017 11:36 am
by Sasha - Tracker Dev Team
Hello Simon,

What you need is a custom event listener for the Stamp Palette Object and intercept the KeyDown there with VK_DELETE code.

Cheers,
Alex