I "configure -state disabled" my tablelist at the start of some long operation to prevent the user from interfering with it while the
operation is in progress. Unfortunately, when a tablelist is configured -disabled, all the colors go away, so I have a hard time indicating the
line which currently is processed.
Is there some way to have row colors in tablelist in state -disabled?
Note that -disabledforeground does not help, since that affects the
whole table.
R'
Thanks, Csaba, for the quick response.
* nemethi <[email protected]>
Am 06.02.23 um 11:03 schrieb Ralf Fassel:--<snip-snip>--
Is there some way to have row colors in tablelist in state
-disabled?
The behavior of the tablelist widgets in disabled state is the same
as that of the listboxes. I'm afraid there is no way to achieve
what you are after. :-(
Ok, then instead of disabling the whole tablelist, I could just set
the -editable of the columns to false and the -sortcommand to empty
(and probably disable some bindings). This should prevent any
changes to the tablelist, shouldn't it?
Thanks, Csaba, for the quick response.
* nemethi <[email protected]>
| Am 06.02.23 um 11:03 schrieb Ralf Fassel:
| > Is there some way to have row colors in tablelist in state
| > -disabled?
--<snip-snip>--
| The behavior of the tablelist widgets in disabled state is the same as
| that of the listboxes. I'm afraid there is no way to achieve what you
| are after. :-(
Ok, then instead of disabling the whole tablelist, I could just set the -editable of the columns to false and the -sortcommand to empty (and
probably disable some bindings). This should prevent any changes to the tablelist, shouldn't it?
R'
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 23:03:12 |
| Calls: | 12,105 |
| Calls today: | 5 |
| Files: | 15,006 |
| Messages: | 6,518,139 |