Disabling Toolbar buttons

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi there

I have a toolbar with buttons that contain images from an ImageList. The images appear correctly when the button is enabled. As soon as I disable the button the image dissapears from the button and the entire button area is grayed out BUT with no image on it. How do I fix this so that the disabled button shows a grayed out Image that the enabled button has instead of just a grayed out box

Thanks for your help in advance
Tom.
 
* =?Utf-8?B?VG9t?= said:
I have a toolbar with buttons that contain images from an
ImageList. The images appear correctly when the button is enabled. As
soon as I disable the button the image dissapears from the button and
the entire button area is grayed out BUT with no image on it. How do I
fix this so that the disabled button shows a grayed out Image that the
enabled button has instead of just a grayed out box?

Are you sure the images are transparent (ImageList's 'TransparentColor' property)?
 
Back
Top