Changing Button Color when pressed

P

PS

All

Had a quick question since couldnt find any resource links on this.

I have a requirement where in when a button (which I create on
Inspector) has a particular color (lets say Red) when pressed - so
that it is highlighted to the user

Can this be doable? If so please let me know how.

I am using C#, VSTO 2005 for devloping the OutlookAddin.

As a side note -

Thanks
Pratik
 
K

Ken Slovak - [MVP - Outlook]

So this is for Outlook 2003 or earlier?

You can track the State property of a button. Depending on what values and
colors you want for up and down states you can change the Picture and Mask
properties of the button or you can use the clipboard and use PasteFace to
change the color. That would be done in the button's Click event handler.
 

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