AddHandler to a button on a new inspectors commandbar
Hi Ken,
thank you for replying. I'm working with an Inspector wrapper class
now. Nevertheless with this technique the handler
AddHandler oInspClass.myMail.Close, AddressOf myMail_Close
is already fired once independently from the number of Inspectors has
been opened so far.
But this technique is not working for the button click - I'm still
receiving multiple clicks when the handler is defined like this:
AddHandler oInspClass.MyButton.Click, AddressOf ButtonClick
BTW, it's a Button on the "E-Mail"-commandbar which is IMO part of the
Wordmail editor. The button is added Temporary = TRUE, but is
persisting in Word afterwards.
Do you have an example that demonstrates the adding of a handler for a
button on a Wordeditor commandbar considerating multiple Insepctors?
Kind regards,
Steffen
|