in reply to limit number of characters in entry widget

Not directly that i know of, but looking at the docs for Tk::Entry you can can add a validation sub that checks the length and it could just crop the value.
  • Comment on Re: limit number of characters in entry widget

Replies are listed 'Best First'.
Re^2: limit number of characters in entry widget
by Anonymous Monk on Jun 17, 2005 at 13:12 UTC
    i see $box = $mw->Entry(-validate=>'key', -validateCommand=>'\&myLengthCroppingSub', ...other options)