Hello,
I have 3 entry box displayed on the main form (among other widgets) and defined as:
entry .a.e -width 14 -relief sunken -textvariable xy0
entry .b.e -width 14 -relief sunken -textvariable xy1
entry .c.e -width 14 -relief sunken -textvariable xy2
In I function I have, I need to know if any of the 3 entry boxes has the input focus and which one.
I think that 'focus' returns the widget that has the input focus but not sure how to call it or read it.
Thanks for your help
I have 3 entry box displayed on the main form (among other widgets) and defined as:
entry .a.e -width 14 -relief sunken -textvariable xy0
entry .b.e -width 14 -relief sunken -textvariable xy1
entry .c.e -width 14 -relief sunken -textvariable xy2
In I function I have, I need to know if any of the 3 entry boxes has the input focus and which one.
I think that 'focus' returns the widget that has the input focus but not sure how to call it or read it.
Thanks for your help