Feb-14-2019, 10:13 PM
Quote:Do you know any way to prevent the user to write more than 23 lines instead of just warning him that there are too many lines ?
Quote:You have not included the two functions from the buttons' command= parameter, retrieve_input() and fin(). I would guess that limiting the lines of text would occur in retrieve_input function. Use a counter to count the number of lines already in the Text, and if it exceeds 25, retrieve_input would show a warning message instead of putting it in the Text