L
Larry
Another Tk question ... I have a textbox that I want to populate from
my script, and I want the user to be able to select and copy from the
textbox, but I don't want them to be able to modify it. There is a
"-state disabled" attribute which prevents them from modifying, but it
also prevents them from selecting text.
I'm thinking I need to do something with "bind" but I can't figure out
what. I tried binding the <Key> event to a subroutine that returns 0,
or returns 1, and neither had any effect.
my script, and I want the user to be able to select and copy from the
textbox, but I don't want them to be able to modify it. There is a
"-state disabled" attribute which prevents them from modifying, but it
also prevents them from selecting text.
I'm thinking I need to do something with "bind" but I can't figure out
what. I tried binding the <Key> event to a subroutine that returns 0,
or returns 1, and neither had any effect.