Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: more than one DynaTabFrame

by kcott (Abbot)
on Nov 17, 2010 at 13:07 UTC ( #871991=note: print w/ replies, xml ) Need Help??


in reply to more than one DynaTabFrame

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.

-- Ken


Comment on Re: more than one DynaTabFrame
Select or Download Code
Replies are listed 'Best First'.
Re^2: more than one DynaTabFrame
by liamlrb (Acolyte) on Nov 18, 2010 at 03:13 UTC
    Hi Ken, thanks for checking it out for me... This was the smallest code example that shows my problem I could write and not actual production code... I am still getting the same indications! I am running Perl v5.10.1 and Tk 804 and dynatabframe .23 what are you running?

      I have Tk 804.029 and Tk::DynaTabFrame 0.23; I'm running Perl 5.12.0 - got the same results I reported on both Cygwin (cygwin-thread-multi-64int) and Windows XP (MSWin32-x86-multi-thread).

      -- Ken

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://871991]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2015-07-29 13:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls