Page 1 of 1

Hide PanelGadget tab?

Posted: Mon May 17, 2021 10:23 am
by BarryG
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?

Posted: Thu May 20, 2021 6:00 pm
by wombats
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: Fri May 28, 2021 12:54 am
by RASHAD

Re: Hide PanelGadget tab?

Posted: Fri May 28, 2021 10:52 am
by BarryG
Posted my reply there.

Re: Hide PanelGadget tab?

Posted: Fri May 28, 2021 5:24 pm
by RASHAD
New version added
Have fun