I hope I understood your email correctly. I think this should work:

$bitmap_button->Enable(1) to enable (switch to normal state)
$bitmap_button->Enable(0) to disable the button

I hope it helps.
Regards,
bungsu

On Mon, 2008-06-30 at 08:36 -0600, Keith Brown wrote:
> The documentation for bitmapped buttons says that normal and disabled 
> states (among others) are supported but it doesn't seem to explicitly 
> indicate how one goes about setting these states. Can someone give me a 
> quick example of how to switch back and forth, please?
> 
> 
> Dr. Keith Brown
> Department of Chemistry/
> Saskatchewan Structural Sciences Center
> University of Saskatchewan
> Saskatoon, Saskatchewan
> 306-966-1725
> http://chem4823.usask.ca/kbrown.html
> 
> -----------------------------------------------------------------------
> It is impossible to travel faster than light, and certainly not
> desirable, as one's hat keeps blowing off.
>                  -- Woody Allen
> -----------------------------------------------------------------------

Reply via email to