JComboBox problem

[email protected] Thu, 18 May 2006 09:51:12 +0200
Newsgroups gmane.comp.lang.perl.tk
Message-ID <[email protected]>
Hi,

I have a program that uses Tk::JComboBox. Since version 1.0 the behaviour of
it changed (part of which was my suggestion even). Probably a lot of code
has changed inside the widget though, since it doesn't work anymore as
before:

I have another JComboBox, that has as -selectcommand the following sub:

sub AbtGetLade {
	@abtladestellen=split(/,/, $ladestellen{$anfabt});
	$ladestellenselect->setSelectedIndex( 0 );
	$ladestellenselect->showPopup();
}

so that sub fills another JComboBox and should display its ListBox.

now when the sub is called, the ListBox pops up, but the whole program
(including that JComboBox) doesn't react anymore on mouseclicks. I can TAB
through all widgets, but no more mouse. In the commandbox I have the
following error:

untie attempted while 2 inner references still exist at
C:/Perl/site/lib/Tie/Wat
ch.pm line 362.

as soon as I remove the ->showPopup call, everything works as expected. But
exactly the showPopup is what the users want (they want to see if there are
more than 1 entry).

Before the new version of JComboBox it worked fine...

regards, Lars
-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server.  If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to [email protected]