Hi All,

 

Quick question (hopefully)… when adding a toolbar and setting an imagelist to it, and then adding bitmaps to each button… when you change the property of the button to –grayed => 1 the image disappears and it ends up a big grey square but no image.

 

What image gets called displayed here and what format is it supposed to be in???

 

Is it a 2-bit plane mask or an alternate bitmap… or is it somehow called from $toolbar->SetDisabledImageList(IMAGELIST);

 

I’ve tried messing with Rob May’s “practice” toolbar.pl example but have run out of combinations… doesn’t seem to explain how to change these on MSDN…

 

If I set $toolbar->SetDisabledImageList($ilDisabled);  I get the same silver grey (as the toolbar) rather than the darker grey hole.

 

However regardless of what image I add to the disabled image list, I can’t get it to display.

 

Essentially want to have a PRINT button that is disabled until an event (something to actually print) ENABLES it.

 

Rgds

 

Chris


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.11/264 - Release Date: 17/02/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.11/264 - Release Date: 17/02/2006