in reply to Re^2: Tkx Table - Read cell background
in thread Tkx Table - Read cell background

Why do you need to the background, since you set the background?

This is as close as I'm able to get  $table->tag('cget','active','-bg'), "\n";

I thought maybe this would work as well, it does for "configure" but for cget it always returns window not found  $table->window( 'cget', "$row,$col" , "-background" )

Seems like a bug in ActiveTcl 8.6b1.2 (current is 8.6.4.1/

Could tag every cell with row/col but that seems like a dumb workaround, but it would probably work

Replies are listed 'Best First'.
Re^4: Tkx Table - Read cell background
by Anonymous Monk on Jul 06, 2016 at 00:41 UTC

    Thanks alot for helping. I have been trying very hard and could not make it work and now I know why. The reason I want to read the Table cell background is when saving off the table to an excel for documentation, the excel will have the same color layout as in the table. For a workaround, I tagged every cell in a seperate tag array. Thanks again.