Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks, I have the following code that I can't seem get to of work. I can get the items to display in the GUI and I can't get my selected variables back. Here's a snippet of code:</p?
my $CB = $mw->ComboBox( -textvariable=>\my $combobox, -values => "SF S +D LA All")->pack(-side=>'left', -anchor=>'n'); $CB->bind("<<ComboboxSelected>>", {scriptCombo() }); $CB->grid( -row => 8, -column => 1, -columnspan => 1 ); #$CB->cget( -values); $CB->cget(-command); $CB->configure; my $lbox = $mw->ListBox( -height => 5); $lbox->bind("<<ListboxSelect>>", sub {scriptCombo()}); $lbox->bind("<Double-1>", sub {scriptCombo()}); $mw->bind("<Return>", sub {scriptCombo()}); $lbox->grid( -row => 8, -column => 2, -columnspan => 1 );
Any help is greatly appreciated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't seem to get combo box and list box or tick box to work
by choroba (Cardinal) on Apr 21, 2016 at 13:45 UTC | |
by Anonymous Monk on Apr 21, 2016 at 15:19 UTC | |
by Anonymous Monk on Apr 21, 2016 at 19:09 UTC |