E
EE
I am trying to get the "Save" button to become gray when there are no changes
in the file, e.g. immediately after Open, immediately after Save, ...
For this purpose I handle a handfull of events (e.g. PageAdded,
ShapeChanged, etc). The events handler checks the Enabled property of the
button and the Saved property of the document, and decides whether to enable
or disable the button.
For some reason, the button will sometimes refuse to be enabled. The only
way I manage to work around this is to Reset the "Standard" CommandBar.
Note that asimilar vba macro in Word works perfectly (including the SaveAll
button).
I am currently using Visio Pro 2003.
Can anyone help ?
in the file, e.g. immediately after Open, immediately after Save, ...
For this purpose I handle a handfull of events (e.g. PageAdded,
ShapeChanged, etc). The events handler checks the Enabled property of the
button and the Saved property of the document, and decides whether to enable
or disable the button.
For some reason, the button will sometimes refuse to be enabled. The only
way I manage to work around this is to Reset the "Standard" CommandBar.
Note that asimilar vba macro in Word works perfectly (including the SaveAll
button).
I am currently using Visio Pro 2003.
Can anyone help ?