The code works fine for me... is that all you're doing with the button?
Though I'm curious as to why you would want to do this? Would it be better to use something like HideGadget and ShowGadget?
Though I'm curious as to why you would want to do this? Would it be better to use something like HideGadget and ShowGadget?