> $entry->Entry( -textvariable => \$my_var, -width => 75);
> 
> http://w4.lns.cornell.edu/~pvhp/ptk/doc/

...where the documentation states:

Name: width 
Class: Width 
Configure Option: -width 

Specifies an integer value indicating the desired width of the entry window,
in average-size characters of the widget's font. If the value is less than
or equal to zero, the widget picks a size just large enough to hold its
current text. 

----

What the requester was asking for was a limitation on input, not display.

A validate callback is the way to go, I believe, as the poster mentioned.

jpt
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to