listentome has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I have a combobox written using Tk::BrowseEntry. The problem I am facing is that everytime the arrow on the combobox is pressed the data shown on the list is repeated. Is there any command or option in order to prevent this from happening? The statement I have used is
$child = $parent->BrowseEntry(-label => " ComboBox " , -variable => \$var ,-listcmd => sub {subroutine} );The subroutine is used to populate the list shown in the combobox. Is there any other way to populate the values in a combo box dynamically?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: combobox in perl/Tk
by lamprecht (Friar) on Oct 07, 2009 at 11:51 UTC | |
by listentome (Initiate) on Oct 08, 2009 at 09:25 UTC |