At 10:51 PM 02/05/01 -0600, you wrote:
>Does anyone know how to limit the number of characters allowable in an
>entry widget?
>
>I want to only allow text to be entered without scrolling once the right
>margin is hit.
>
>Thanks in advance for any clues.
>
>mrenner
Well, I don't know how to do this without some effort, but
you could use the binding editor to bind an action on
a key press or release, attach a text variable to the
widget and then in your bound action see if the text
variable is too large and set the text variable back to
something you deem valid.
That's my 2 pennies.
eric
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user