in reply to Display of listbox items from index

It isn't very clear from your question exactly what you are trying to do. I am going to assume that you want the selected items from a populated listbox to be inserted into an empty listbox. Once it is stated that way, the answer should be somewhat obvious.

sub singleItemSelect{ my @selectedItemIndex = $lbl->curselection; for (@selectedItemIndex) { $lbr->insert('end', $lbl->get($_)); } }

Replies are listed 'Best First'.
Re^2: Display of listbox items from index
by riz (Initiate) on Jun 14, 2005 at 11:28 UTC
    It worked!
    thanks for the help.
    riz.