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

Thanks bungsu. That is exactly what I was looking for. It seems to be buried pretty well in the documentation. In fact, I can't find any mention of it anywhere!

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