commandbarbutton + click, doubleclick event

  • Thread starter Thread starter sebastian gereck
  • Start date Start date
S

sebastian gereck

hallo there,
i added a button to the commendbar.now i want to execute code in case of a
click and doubleclick-event.
i know how to do things with the onaction- event, but this is not really
what i want.
i have something like that :
Dim mybutton as CommandBarButton
mybutton = CommandBars(0).Buttons(0)
Sub mybuttonaction
do something
End Sub

thanks in advance
sebastian
 
To the best of my knowledge,
Commandbar buttons only have an onaction property. A double click is the
same as a click.
 
there is a default-button to overtake formatsettings ( the button with the
brush ).
its behaviour is different if you click or doubleclick it.
this is the way my button should work too.

maybe you have an idea of an workaround ?

thanks
sebastian
 
Not every capability of the built in menus are provided to the programmer.
I believe this is one of those cases. Maybe someone else knows better.
 
Back
Top