- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've been having this issue for a while. After certain user actions, my add-in is supposed to change which parts are highlighted on-screen by clearing the current select set and selecting the components that are supposed to be highlighted. But for some reason, a large percentage of the time the display just does not update. After a while I realized that the select set actually IS being updated, because if I right-click and do "Open", the correct components (the ones that are supposed to be highlighted, but aren't) open, and the ones that are still highlighted do not.
Unfortunately, I haven't got a clue as to how to reproduce this. It seems completely random. I was hoping that someone else knows why this might be happening and how to force the display to update and only highlight what is truly selected.
I thought it might be a "ScreenUpdating" thing, so I disabled that before the selection change and re-enabled it after, but that didn't make any difference.
Any solutions or clues would be greatly appreciated.
Solved! Go to Solution.