Hi all,

I am using this to create a text field:

# Create text field for Computer Name entry
$Win->AddTextfield(
       -MaxLength    => 15,
       -text    => "",
       -name    => "Host_Name",
       -left    => 285,
       -top     => 243,
       -tabstop => 1,
       -width   => 100,
       -height  => 20,
      );

I found the MaxLength option in the docs but it does not seem to limit the
field. What I want is to be able to have the field restricted to 15
characters. So no more characters could be typed in. Is this possible? Have
I just used the wrong syntax? Thanks for any help.

Bob


Reply via email to