in reply to Re^3: Tk MatrixTable - entering data
in thread Tk MatrixTable - entering data

On your exmaple, it does not matter if I give one of two mouse clicks. The cell still 'flashes' and I cannot see what I type in until I move to another cell.
Could this be because of some setting on my PC rather than something associated with the TableMatrix?

Replies are listed 'Best First'.
Re^5: Tk MatrixTable - entering data
by merrymonk (Hermit) on Jun 08, 2011 at 07:08 UTC
    I have found out some more.
    On your exmaple, if I remove the line
    $t->tagConfigure('active', -bg => 'white', -relief => 'sunken');
    I can then see the original text when I type the new text in. It is feint white but I guess another setting will allow this to be darker.

    If I change the 'definition' of the table from
    #$tm2 = $mw->Scrolled('Spreadsheet',
    to
    $tm2 = $mw->Scrolled('TableMatrix',
    then just a single cursor hit allows me to move from cell to cell. The appearance of the display is different but again I suspect I can find something to alter this if necessary.
      Hi, just in case you missed it, in my first example to you, was some commented code, which you may sometimes need.
      # $table->configure(-padx =>( $table->cget(-padx))); # a TableMatrix trick needed sometimes to force an immediate upd +ate

      I'm not really a human, but I play one on earth.
      Old Perl Programmer Haiku ................... flash japh