Tabber gadgets - creating and managing
BlitzPlus Forums/BlitzPlus Programming/Tabber gadgets - creating and managing
| ||
I've been playing with Tabber gadgets for the last couple hours, and it seems like the way to do these is as follows: 1) Create tabber gadget 2) Add items (tabs) to it 3) Create ALL your gadgets within the tab pages 4) Hide the gadgets that don't belong on the tab page that is currently selected ...and when a different tab is selected, a) Hide the current gadgets b) Show the gadgets belonging to the new tab page Is this right? I'm wary of steps 3/4, a/b, because it seems like there might be an easier mechanism to do this. Or have I got it right? |
| ||
1) Create the tabber. 2) create a panel on the tab page. 3) add your gadgets to the panel. 4) hide/show only the panel when pages change. This way you will only need one hide/show command. |
| ||
Thanks -- I figured this out in the meantime, but it sure is nice to have a confirmation. I wonder if Mark needs help with the docs... =) |
| ||
He DOES have help with the docs, but they're lazy =] /me hides |
| ||
Read Lazy as "BUSY" :P |
| ||
Maybe we can get the SSTab control later, which does all the hiding/showing automatically! :) A bit more overhead, true, but pretty slick if you've ever used it. Russell |
| ||
I've found this to be an annoyance too, so I went ahead made an include which simplifies tabbed applications. It treats them as a hybrid gadget in a sense...Feel free to use! http://www.blitzcoder.com/cgi-bin/code/code_showentry.pl?id=poedboy05252003133205&comments=no |