|
Daniel Lutz
Posts: 16
Joined: 2023-02-27
|
Hello support team,
it seems to be that an ADXTaskPane in MS Word doesn`t notified by Word when a shape is selected. I attached a zip file with a simple ADXComAddin for Word which create a ADXTaskPane instance with a usercontrol an some text boxes on it. To reproduce the behaviour you can load the addin and create a new document in word.
No Selection
1. Set focus on the first textbox
2. Switch focus with TAB or SHIFT+TAB between the textboxes
This works fine. Now create a shape an selected.
Shape Selection
1. Set focus on the first textbox
2. Switch focus with TAB. The first movement works and then it failed.
What i know is that Word ha a shortcut with TAB and SHIFT+TAB to navigate between shapes (selection) and after the first TAB navigation in the user control word seems to be avoid the messages to inform the adxpane. Is there any way to fix it on your side? (The builtin word panes works correctly.) It is complicated because this will be break completely keyboard navigation and prevent people with disabilities to work with our addin.
Best regards
Daniel
You will find the addin project behind this sharepoint link: https://axes4-my.sharepoint.com/:u:/p/d_lutz/IQB00Jasc-cYRKAyq8cfCwVtAdqBPq8whz0Uq1DDarWWv0I?e=U6L6pi
Please give me a hint if you have download it then i will disable it. |
|
|
Andrei Smolin
Add-in Express team
Posts: 19190
Joined: 2006-05-11
|
Hello Daniel,
What Word version are you using?
I don't reproduce this on my machines having this Office build installed: Version 2511 (Build 19426.20218 Click-to-Run). This is Current Channel. That is, for me tabbing on the pane works uninterrupted; it doesn't wrap up, though: clicking TAB while being on the last textbox doesn't switch me to the first textbox.
Regards from Poland (GMT+2),
Andrei Smolin
Add-in Express Team Leader |
|
|
Daniel Lutz
Posts: 16
Joined: 2023-02-27
|
Hello Andrei,
it seems to be a problem inside our own addin is active. The first problem i could solve because we had in the SelectionChanged Event a cascade of methods call which process an event call. In this eventhandler we updated the ribbon ui after i block it it works again. The secound problem seems to be with the selection object. Everytime we use "Tab" to navigate in the example project i`ve send you the selectionchanged event from word is fired. If i handle this event and call Selection.ShapeRange it seems to be that after the secound tab it not works again.
Best regards
Daniel |
|