Grubber has asked for the wisdom of the Perl Monks concerning the following question:
This works fine from my main window. However,if($lb->selectionIncludes($i) == 1)
does not work being the $lb2 is from a tab window using Tk:NoteBook example:if($lb2->selectionIncludes($i) == 1)
Has anyone used multiple Listboxes via NoteBook?$book = $main->NoteBook()->pack( -side=>'bottom',-fill=>'x', -ipadx=>0 +, -ipady=>185, -expand=>0 ); $tab3 = $book->add( "Sheet 3", -label=>"Reports", -createcmd=>\&Report +s, -raisecmd=>\&Reports, -state=>'normal' );
Edit by castaway - added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Listbox selectionIncludes
by zentara (Cardinal) on Mar 12, 2005 at 22:26 UTC |