Hi There,

    Thank you for the swift response.
  1. Yes. $tm->focus; does it make it work and thank you for that. Now I realize that $tm->activate("topleft"); doesn't implicitly call $tm->focus;. That said,
    $tm->focus; $tm->activate("topleft");
    has the same effect as,
    $tm->activate("topleft"); $tm->focus;
    I'm not sure why this is so.

  2. Any answers to second question?

  3. I'm a entry level learner. So I don't understand the Perl source code well. That aside, while answer the sounds reasonable that -ve column numbers refer to those from counted from the right(starting rightmost column at -1 as there is no -0), I tried
    $tm->colWidth (0, 25); print $tm->colWidth(), "\n";

    prints,
    0 25

    $tm->colWidth (-10, 32); $,="|"; print $tm->colWidth(), "\n";

    prints,
    0 25|-10 32|
  4. Now -10 refers to first column. The following callback for -browsecommand option,
    sub validate_browse { $tm->colWidth (-10, 32); $tm->configure(-padx =>($tm->cget(-padx))); #display refresh trick, }
    doesn't change the width of first column. Why is this so?

    Many thanks in advance.


    In reply to Re^2: activate and selectionSet methods, negative columns in TableMatrix (focus) by Anonymous Monk
    in thread activate and selectionSet methods, negative columns in TableMatrix by Anonymous Monk

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



  5. Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  6. Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  7. Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  8. Please read these before you post! —
  9. 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
  10. 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;
  11. Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  12. See Writeup Formatting Tips and other pages linked from there for more info.