Hey all,
I'm new to the forum but not new to tcl though I've been away from it for some years. I'm writing a control application that needs to send data to a remote embedded device and using the tkTable widget for the first time as an interface.
I started with a variation of the buttons.tcl demo that comes in the 8.4 active state distribution. I need to send the data, one column at a time over tcp when I hit a send button. What I'd like the gui to do is highlight each column as it's being sent but I can't figure out how to do this from inside the program. When I set -selectmode to extended I can manually click on a column header and it will select the whole column. I have a small status field set up to show the row,column selections and it always looks like 0,1 or 0,19. However when I put a line in the program like
$t selection set 0,13
it selects just that one cell. So what do I need to do to highlight a whole column from inside the program.
I'm new to the forum but not new to tcl though I've been away from it for some years. I'm writing a control application that needs to send data to a remote embedded device and using the tkTable widget for the first time as an interface.
I started with a variation of the buttons.tcl demo that comes in the 8.4 active state distribution. I need to send the data, one column at a time over tcp when I hit a send button. What I'd like the gui to do is highlight each column as it's being sent but I can't figure out how to do this from inside the program. When I set -selectmode to extended I can manually click on a column header and it will select the whole column. I have a small status field set up to show the row,column selections and it always looks like 0,1 or 0,19. However when I put a line in the program like
$t selection set 0,13
it selects just that one cell. So what do I need to do to highlight a whole column from inside the program.