Thread [Tk] configure Entry (7 answers)
Opened by MicHen at 2017-02-28 09:21

Linuxer
 2017-02-28 18:53
#186187 #186187
User since
2006-01-27
3870 Artikel
HausmeisterIn

user image
Der entscheidende Hinweis steht im von GwenDragon verlinkten Teil.

Quote
If it returns 0 (or the valid boolean equivalent) then it means you reject the new edition and it will not occur and the invalidCommand will be evaluated if it is set. If it returns 1, then the new edition occurs.


Deine Variante liefert offensichtlich keine Rückgabe. Damit ist der "boolean context" niemals wahr und jegliche Änderung am Textfeld wird daher verworfen.

Damit erscheint es so, als ob das Textfeld keine Eingabe mehr annimmt (was ja auch korrekt ist).
meine Beiträge: I.d.R. alle Angaben ohne Gewähr und auf Linux abgestimmt!
Die Sprache heisst Perl, nicht PERL. - Bitte Crossposts als solche kenntlich machen!

View full thread [Tk] configure Entry