Best way to use variables

I really like the [quote=“rorywalsh, post:29, topic:1236”]
way to enable or disable in single go
[/quote]

So if I understand : If I have 3 tabs (groups of widget actually), when the user click on the 1st tab, I will have to add a
chnget "volume_tab1:1 pan_tab1:1 ...", "WIDGET_ POLLING"
chnget "volume_tab2:0 pan_tab2:0 ...", "WIDGET_ POLLING"
chnget "volume_tab3:0 pan_tab3:0 ...", "WIDGET_ POLLING"

Is that correct ?