laziness, impatience, and hubris | |
PerlMonks |
Re^2: Help with JComboBoxby JamesNC (Chaplain) |
on Nov 17, 2004 at 12:46 UTC ( [id://408384]=note: print w/replies, xml ) | Need Help?? |
I actually would expect this same behavior for some of the same reasons above. (I don't like the behavior)
Instead of $chosen = $choice[$c]; try $cb->setSelected($choice[$c]); and you won't have to do a hide. I have just learned to use the setSelected() method to avoid this issue.
In Section
Seekers of Perl Wisdom
|
|