From Newsgroup: comp.lang.tcl
* nemethi <
csaba.nemethi@t-online.de>
| Am 25.09.26 um 12:38 schrieb Ralf Fassel:
| > However, with state 'disabled'
| > progress disabled 10 0
| > the color change does not happen.
| > While this is documented behaviour for tablelist, I would still like
| > to have some means to indicate the row being currently processed.
| > Apart from embedding some labels or other widgets, any other ideas?
| > Would a state 'readonly' (like in comboboxes) be feasible?
--<snip-snip>--
| Although not mentioned in the manual :-( , you can change the font of
| a tablelist cell in the disabled state, too. This leads to the
| following solution proposal:
| Insert the following lines before the progress procedure
| set tblFont [.t cget -font]
| font create UlFont {*}[font actual $tblFont] -underline 1
| and change the procedure's line starting with ".t cellconfigure" to become
| .t cellconfigure $row,1 -font [expr {$count % 2 ? "UlFont"
| : $::tblFont}]
| Here we are using the font option -underline, which, unlike -weight,
| doesn't change the cell text's width in pixels.
Thanks, Csaba, that looks promising, plus I think I would use
rowconfigure to have the whole row underlined (better visual clue).
I will experiment with it!
R'
--- Synchronet 3.22a-Linux NewsLink 1.2