On 28/10/2010 10:49 AM, Lindley, Robert A wrote:
I am using ActivePerl on Windows XP. The colors used when a Tktable cell is 
active are awful. Actually the cell content is unreadable. All my attempts to 
control the active background and active foreground have failed. Maybe it can 
be done with tags, but the Tktable man page gives no clue how one can attach a 
tag to anything. I would like to control all rows and columns.


$table->tag_configure('active',
        -foreground => 'systemHighlightText',
        -background => 'systemHighlight',
);

Note that system* are OS X or Win32 specific (using whatever the theme has set), so use regular #rgb if you want x-platform.

For the other special built-in tags and options, see:

http://tktable.sourceforge.net/tktable/doc/tkTable.html#sect7

Jeff

Reply via email to