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($_)); } }
In reply to Re: Display of listbox items from index
by thundergnat
in thread Display of listbox items from index
by riz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |