I have created a hash containing a set of textvariables for a series of entry widgets.
Data can be placed into these just fine at first; the script can extract the data happily and work with it.
However, when it comes to updating the data in the hash, the new data does not get displayed onscreen. Also, any changes to data in the entry boxes after this point are then not placed into the array.
I assume I have some referencing problems somewhere ... but I can't figure out where. Any suggestions would be helpful .. :) The objects array is global.
My code to create each entry box is as follows:
$searchFrame -> LabEntry( -label => 'Search Phrase:' -width => 5, -labelPack => [qw/-side left/], -textvariable => \${$objects{search}} )->pack( -side => 'left' );
and the line to update it:
$objects{search} = \$data[$j];
Thanks
--Foxcub
In reply to Hashes of Tk Entry Widget Textvariables by Tanalis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |