3 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
sub defineDBFieldsOptionMenu {
my ($top, $bindSelectedValue, $bindSelectedTextlabel, $optionSet) = @_;
my $opt = $top->Optionmenu(
-options => $optionSet,
-command => sub {
print "got: ", shift, "\n", "val: $bindSelectedValue\n";
print "hashval: " . $obj->{'entryFrame'}->{'feld'}->{'bindSelectedValue'} . "\n";
},
-variable => \$bindSelectedValue,
-textvariable => \$bindSelectedTextlabel
);
return $opt;
} # /defineDBFieldsOptionMenu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
sub defineDBFieldsOptionMenu {
my ($top, $refbindSelectedValue, $refbindSelectedTextlabel, $optionSet) = @_;
my $opt = $top->Optionmenu(
-options => $optionSet,
-command => sub {
print "got: ", shift, "\n", "val: $bindSelectedValue\n";
print "hashval: " . $obj->{'entryFrame'}->{'feld'}->{'bindSelectedValue'} . "\n";
},
-variable => $refbindSelectedValue,
-textvariable => $refbindSelectedTextlabel
);
return $opt;
} # /defineDBFieldsOptionMenu
defineDBFieldsOptionMenu ($top, \$value, \$label, $options);
3 Einträge, 1 Seite |