in reply to Updating variables in Tk programmes
There may still be more things wrong with this, depending on what the @file_fieldnames array is supposed be... Why would you put the same set of field names into several BrowseEntry widgets?my ($row,$mfld) = (0,0); for my $field ( @file_fieldnames ) { # (and where does this array come + from?) $pg->Label(....)->grid(-row => $row, -column => 0); my $brb = $pg->BrowseEntry(-variable => \$map_fields[$mfld++], )->grid(-row => $row, -column => 1); $brb->insert('end', @$dbfields); $row++; }
|
|---|