Hi: >Xavier, > >Attached is a modifed xfcapp which correctly does what you are trying to >do. > >Jeff. Examinig the code I saw the point. In my code I didn't take a pointer to the image in the button using the xml object. I thought that taking a pointer to the Button, it contained its image. Now my code works fine! Thanks a lot ! Xavier