Strange, I posted an other QUestion on the Board yesterday but it vanished...
Another Try :-)
I tried both modules but on each one I have an other problem, if I could solve (or you can help me solve it) I would be happy. First Problem with the DynaTabFrame. I cannot set the height correctly. Here is the code snippet:
my $BunchNotebook = $BunchInfoFrame->DynaTabFrame ( -font => $GeneralInformationFont, -tabcolor => 'gray', -raisecolor => 'lightgray', -tabside => 'nw', -tabpadx => 3, -tabpady => 3, -tiptime => 600, #-height => 500, #does not work -tipcolor => 'white' )->pack (-side => 'top', -expand => 1, -fill => 'both'); #then add the tabs: $BunchTabs{$Title} = $BunchNotebook -> add (-caption => $Title);
The problem you can see here, there are more labels in the Tab, but you cannot see them, if you draw the window bigger with thee mouse you can see the rest of the labels. I tried on several places to set the correct height, but with no success.

So I tried the other Module the Tk:NoteBook, whith this module the height is shown correctly, but there is only one "row" of tabs. I have a dynamic count of tabs there can be only 2 or up to 10, here the window expands, or if I set a maximum width come of the tabs are not shown. And the solution with a scrollbar does not look good. Pictures Is there an option for NoteBook to create more Rows of tabs? (like in the other module?) I did not find such a function.

I hope you could help me, thanks for replies.

In reply to Re^2: Tabs in Perl:TK by Streen
in thread Tabs in Perl:TK by Streen

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.