in reply to Re^3: Tk gui bug
in thread Tk gui bug

In the midst of my preparation for hari-kari, I dropped the PACK from the following line and the problem ceased.
my $tab_tab=$book->add("Sheet $tab_cnt", -label =>"$tab")->pack(-expan +d=>1,-fill=>'both');
It's currently running as expected. Thank you for all your help. I'm sure I will be back... soon. -honyok

Replies are listed 'Best First'.
Re^5: Tk gui bug
by zentara (Cardinal) on Feb 02, 2009 at 14:07 UTC
    Good catch..... of course you can't pack a page add....I regret not seeing that. The question now is "why didn't Tk throw an error"? It usually throws an error when a packing error occurs.

    I'm not really a human, but I play one on earth Remember How Lucky You Are
      Now, a few more challenges: The GUI is initiated from the command line. Should I alias the GUI's name to run it in the background so that the user keeps control? Also, do I run the programs from the GUI in the background also? AND,how does one tie STDERR to a MessageBox which pops up when there is an error? If you have some general ideas, I'd appreciate it. -HONYOK
        I don't know what you are talking about "initiated from commandline", they all are. As far as tieing STDERR to a MessageBox, put at the top of your script
        require Tk::ErrorDialog;

        I'm not really a human, but I play one on earth Remember How Lucky You Are