All I want to do is when I single click (i.e. select a new item) on an element within a listbox, I'd like to send the element value to another procedure.
I'm not having trouble with binding per se, but my problem is that I can only get it to work using <Double-ButtonPress-1> binding, which is what I don't want to do. I want to be able to go to each element in the listbox and send that value to a proc without double-clicking. When I try bind types like ButtonPress or KeyPress, it will send the value to my proc, but it's always the previous value, not the current selection ... what am I missing here (duh?)?
I'm not having trouble with binding per se, but my problem is that I can only get it to work using <Double-ButtonPress-1> binding, which is what I don't want to do. I want to be able to go to each element in the listbox and send that value to a proc without double-clicking. When I try bind types like ButtonPress or KeyPress, it will send the value to my proc, but it's always the previous value, not the current selection ... what am I missing here (duh?)?