untie error (from JComboBox?)
am 15.12.2006 13:30:18 von extern.Lars.OescheyHi,
I get an error (I guess it's from JCombobox, can't see that): untie
attempted while 2 inner references still exist at
C:/Perl/site/lib/Tie/Watch.pm line 362
What I'm doing is:
I define a JComboBox:
my $spedlabel=$spedframe->Label(-text => "Spedition")->pack(-side=>"left");
my $spedselect=$spedframe->JComboBox(
-relief=>"sunken",
-mode=>"editable",
-choices=>$ra_speditionen,
-textvariable=>\$sped)
->pack(-side=>"right");
I also have two Radio Checkboxes that switch between two different states.
When the state is switched (i.e. a Radiobutton selected), a sub is called
that changes the contents of before said JCombobox:
sub InOutChange {
if ($inout eq "out") {
$spedselect->configure(-choices=>$ra_versandarten,-textvaria ble=>\$versandar
t);
$spedlabel->configure(-text=>"Versandart");
}
else {
$spedselect->configure(-choices=>$ra_speditionen,-textvariab le=>\$sped);
$spedlabel->configure(-text=>"Spedition");
}
there's also a lot of state->disabled or state->enabled in that sub, but I
really think the untie error comes from the JComboBox (it also happens
elswhere where also the contents of a JComboBox changes). Anyone knows that
error? Or should I better post to Perl::Tk list?
Lars
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs