Piske, Harald wrote: > The -visible option is only for the initial state, subsequent showing and > hiding is done with Show and Hide ... erm, pardon my confusion, but what's > the problem? If you found Show and Hide to be working, what more do you > need?
Thank you. This does the job perfect. Now I know why it didn't work for the first time: I tried something like: # code with error $win->buttonXY->Change(-visible => 1, -text => "XY"); $win->buttonXY->Show(); The -visible option was the mistake. # code without error $win->buttonXY->Change(-text => "XY"); $win->buttonXY->Show(); Peter