N
Nikolay Belyh
I have recently run into following:
----
If I customize Visio UI using CommandBars, an undo item is added on
every menu click (WTF?)... Namely, I do the following:
item.OnAction = "MYADDON"
item.Parameter = "My addon parameters"
Here undo item named "MYADDON" appears in undo list, though addon
performed no actions that relate to visio
-----
If I customize Visio UI using UIObjects interface, then no undo items
are added (that is correct of course)
item.AddonName = "MYADDON"
item.AddonArgs = "My addon parameters"
Here no extra undo item appears.
---
In case I use ".Click" even with command bars, there is no undo item
as well, but nevertheless the behavior above does seem to be an odd
one...
Kind regards, Nikolay.
----
If I customize Visio UI using CommandBars, an undo item is added on
every menu click (WTF?)... Namely, I do the following:
item.OnAction = "MYADDON"
item.Parameter = "My addon parameters"
Here undo item named "MYADDON" appears in undo list, though addon
performed no actions that relate to visio
-----
If I customize Visio UI using UIObjects interface, then no undo items
are added (that is correct of course)
item.AddonName = "MYADDON"
item.AddonArgs = "My addon parameters"
Here no extra undo item appears.
---
In case I use ".Click" even with command bars, there is no undo item
as well, but nevertheless the behavior above does seem to be an odd
one...
Kind regards, Nikolay.