Hide PanelGadget tab?
Hide PanelGadget tab?
I've got a PanelGadget made up of 3 tabs where I need to hide the middle tab for the moment (for a test version of my app), as though it and its gadgets didn't exist. Is there a way to easily do that, or do I really need to go in and remove the tab code and all its gadgets and their code and events? Seems like a lot of work because there's a hell of a lot of code in that panel already (callbacks and such for the gadgets inside it, too) so going through and commenting it all out will be a logistical nightmare. I'd much rather just somehow hide it so the user isn't aware of it.
Re: Hide PanelGadget tab?
Have you considered using the TabBarGadget? Its tabs aren’t linked to a gadgetlist, so you could hide the gadgets (put them in a ContainerGadget and you can do it with one command) and then remove the tab.
Re: Hide PanelGadget tab?
Posted my reply there.