Command bar button

F

Florin Capra

Hello,

I would like to modify State property for a CommandBarButton. If I try
to modify in the Click handler I encounter an error, otherwise for
example at Startup addin I could modify the State property. How could I
set State property in Click hadler ?

Thank you for your help !

Regards,
 
F

Florin Capra

Florin said:
Hello,

I would like to modify State property for a CommandBarButton. If I try
to modify in the Click handler I encounter an error, otherwise for
example at Startup addin I could modify the State property. How could I
set State property in Click hadler ?

Thank you for your help !

Regards,


I resolved this issue ..... was my fault ....

I used the global button variable instead of the button that is passes
in the Click handler.

Now it works !
 
Top