Key events in visio

R

Rob

Hi Everybody

I want to add a function to a keydown- or upevent in the visio
drawingcontrol. This does not work at all. I can add a keydown event
but when i press the delete key or a function key it doesn't react to
it.
When the user presses the delete key it has to do more than just
delete. So if i can replace that action with my own action, my problem
would be solved. But now it does not work.
I also tried to add the keypreview property of my form but it also
doesn't help.
Please help me because this is very important for my program.

Thanx to all !!!
Rob
 
G

gaz-mac

Hi Rob,
Have you investigated the event 'OnBeforeSelectionDelete'? It may solve some
of your problems, you can write your other code in this event.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top