Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: more than one DynaTabFrame

by kcott (Chancellor)
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

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://871991]
[marioroy]: Morning Discipulus. porting C code to Perl is an interesting problem for running parallel. I will try and the reason for attempting Perl code to match C 100%.
marto waves
[Discipulus]: hello marioroy! yes i need to start to write parallel, but not with this Pi code; it is yet melting my brain on it's own!

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2017-10-24 07:10 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (286 votes). Check out past polls.