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 !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top