in reply to Re: perl tk how to limit the amount of text typed into a text widget
in thread perl tk how to limit the amount of text typed into a text widget

Hi, A screen shot will only capture what text is in the text box. So if the user types 20 lines of text, 10 lines of that text will have scrolled of the screen and won't be captured.
  • Comment on Re^2: perl tk how to limit the amount of text typed into a text widget

Replies are listed 'Best First'.
Re^3: perl tk how to limit the amount of text typed into a text widget
by Anonymous Monk on Jul 24, 2015 at 03:33 UTC

    Hi, A screen shot will only capture what text is in the text box. So if the user types 20 lines of text, 10 lines of that text will have scrolled of the screen and won't be captured.

    :) Let me try a different way

    You say if user types 100 chars, 70 scroll off screen and only 30 are shown

    To solve this problem you propose to limit the amount of chars a user can type

    The screen shot doesn't care if 70 chars are missing because they scrolled or because the user couldn't type them up

    Do you see what I am saying?

    tk limit -> Perl/Tk,How to limit the number of characters in Entry?

      Hi Yor are correct. I'm an idiot. Thanks for helping me see the light.

        Hi Yor are correct. I'm an idiot. Thanks for helping me see the light.

        :) Well the user might care about typing up extra stuff that won't be screenshotted :)