Hi All,
I have a combo box having one set of details and i need to show related list to another combobox. I need to show from the list when i select "colors" i need to show colors details in the another combobox and the same should change if i select "fruits". Please suggest.
use strict; use warnings; use Tk; use Tk::BrowseEntry; my $var; my $mw = tkinit; my $widget = $mw->BrowseEntry( -label => 'Select the Journal Name:', -variable => \$var, -state => 'normal', -choices => [qw(Color Fruits)], #-width => 45 )->pack( -side => 'top', -pady => '10', -anchor => 'w'); my $widget1 = $mw->BrowseEntry( -label => 'Select the Journal Name:', -variable => \$var, -state => 'normal', -choices => [qw(White Red)], #-width => 45 )->pack( -side => 'top', -pady => '10', -anchor => 'w'); MainLoop();
In reply to Combo box linked with another combo box by Selvakumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |