in reply to Re^5: Reading into array with sscanf
in thread Reading into array with sscanf
If I do a print in the load subroutine I see the expected values from the file. But with the validation calls in the widget commented out and the actual validation subroutine also commented out the displayed value in the widget does NOT change when I do the load. even though I can use the mouse/keyboard to change it doing input to the widget. However, I've just discovered that although the *displayed* value in the Entry widget does *not* change when I do the load from file, the actual *variable* must have changed because the result of a calculation using it *does* change. Also even though I can use the mouse/keyboard to change the displayed value doing input to the widget, it isn't getting into the variable because the calculation result does not change. It's like doing the split alters the storage location of the variable array somehow and the widget doesn't get told.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Reading into array with sscanf
by tybalt89 (Monsignor) on Jul 16, 2024 at 18:55 UTC | |
by colintu (Acolyte) on Jul 16, 2024 at 19:54 UTC | |
by NERDVANA (Priest) on Jul 17, 2024 at 16:13 UTC | |
by NERDVANA (Priest) on Jul 17, 2024 at 15:59 UTC |