Ctrl-Z or Alt-BkSpace not working in a Form

I

Iroel Perez

Hi there,

I inserted my ActiveX control in a VBA Form and everything works fine,
except the shortcuts for Undo (Ctrl-Z and Alt-BkSpace) in my textboxes. Any
clue what can I do?

The ActiveX control is a Delphi ActiveForm. I've redefined the OnKeyDown
event and I could check my Control receives all the keyboard events from the
VBA form, except the Undo events. Weird, eh?

Any help is appreciated,

Thanks,
Iroel
 
C

Cindy M -WordMVP-

Hi Iroel,

Is the Undo event defined in your ActiveX control? Word's keyboard shortcut
assignments aren't valid in an embedded apps environment. I know "Undo" is
supposed to be "universal" in Windows, but each application has to implement it
in its own way...
I inserted my ActiveX control in a VBA Form and everything works fine,
except the shortcuts for Undo (Ctrl-Z and Alt-BkSpace) in my textboxes. Any
clue what can I do?

The ActiveX control is a Delphi ActiveForm. I've redefined the OnKeyDown
event and I could check my Control receives all the keyboard events from the
VBA form, except the Undo events. Weird, eh?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 
I

Iroel Perez

Hi Cindy,

How do I define the Undo event for my control?

Thanks in advance,
-Iroel
 
C

Cindy M -WordMVP-

Hi Iroel,
How do I define the Undo event for my control?
No idea. If you've programmed the control, it's an
additional thing you'd have to program for the control. If
you've obtained the control elsewhere, you'll need to
contact the person who created the control.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update
Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:)
 

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