This is strange ... There have to be a solution for this ^^ Give us the whole source of the panel definition an so on, pls. Then we could test your code and debugg with our own methods to tell you where is the catch. Do you have set all three function-pointers functionOn, functionOff, functionOver in the button definition?