The attached shows a Tk::Listbox which, although it seems to function
OK, does not return the just-selected line of the listbox, but the line
previously selected. A tip-off should have been that the first
selection returns nothing. Is there a simple way to fix this? Is this a
known fault?
I have tried some simple-minded things, such as reading the curselection
twice and sleep to see if it was time-dependent but no joy. Many thanks
for your help.