|Welcome to the Monastery|
Re: more than one DynaTabFrameby kcott (Abbot)
|on Nov 17, 2010 at 13:07 UTC||Need Help??|
I just ran this code unaltered.
Both tabs are shown with the text "A" or "B" as you've coded it here.
Both have the Labels you've packed - not just the last one.
You are correct about "A" showing under "B" - that's the order you packed them in.
You are incorrect with respect to "... so in this case it would show a blank tab for what should be the B tab ...". Why did you think that would be the case when you've provided text for both tabs?
Perhaps there's some confusion because everything is called just "A" or "B" - try "Tab A" and "Label A", for instance, so that you can see more clearly what is going on.
I strongly recommend that you do not use global variables throughout your code!
You should add use strict; and use warnings; to the top of your code.