in reply to Tk Listbox problem
From perldoc Tk::Listbox, I can only come up with:
foreach my $tape (@stored_tapes, '<NONE>') {$remove_list->insert('end',$tape);} $remove_list->activate('end'); #Show the $remove_dialog box to the user my $remove_result = $remove_dialog->Show;
In the absence of selection, returns '<NONE>'. You might want to set -selectmode' to multiple or extended to allow more than one selection at a time.
--Bob Niederman, http://bob-n.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Tk Listbox problem
by Grygonos (Chaplain) on Jul 21, 2003 at 17:58 UTC | |
by bobn (Chaplain) on Jul 21, 2003 at 19:11 UTC | |
by jsprat (Curate) on Jul 21, 2003 at 18:14 UTC | |
by Anonymous Monk on Jul 21, 2003 at 18:04 UTC |