button not reappearing



Hi hi, 

I've got an issue that i can't quite track down where i am hiding and re-showing
a  button each time it's pressed. The button adds a control panel which is used
to hide itself, so the "show" button is wanted to dissapear when it is shown...
but i hide the button "$button->set_visibility(0)" fine, and bring it back with
"$button->set_visibility(1)" but the strange thing is that the space for the
button is reallocated, but the button itself doesn't reappear until the mousee
moves over it (presuambly this is triggering a mouseover event which makes it
redraw?) so why does the button not instantly reappear??

thanks

chris

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]