KeyBindings and Find and Replace dialog box

S

saint

Hi everyone,

It seems that it's not possible to perform any keybinding manipulations when
Find and Replace dialog box is shown.

I get one of the following errors
1) This method or property is not available because the Find or Replace
dialog box is open.
2) Command Failed


I've seen related concerns online but no answers. Any work arounds?
 
S

saint

we need a document level custom toolbar and menu items with corresponding
shortcuts and thus keybindings are attached on document activate events
(using VSTO).

I understand that it is possible to save this customization to the template
instead of having to attach/add them during activate event but there were
issues encountered in the past that has prompted to reattach these
customizations during activate event as much as possible.
 
T

Tony Jollans

I don't think there's anything you can do about it.

I don't see the need to routinely change keybindings though. Once they are
set up you don't need to keep on changing them. You will run into a problem
if someone opens or creates a document while the dialog box is open but I
would venture that's unusual behaviour and if you can trap it, and take
corrective action later, that would probably be good enough, wouldn't it?
 

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