Eric Hansen wrote:
>When trying to programatically limit the number of characters entered 
>into a textfield...

I found an easier way ;-)
this will limit your textfield to 8 chars:

    $W->BeginDate->SendMessage(197, 8, 0);

197 stands for EM_SETLIMITTEXT.
to know how many characters you've limited, use:

    $limit = $W->BeginDate->SendMessage(213, 0, 0);

next build's Textfield package will have a Limit() method, eg.:

    $W->BeginDate->Limit(8);
    $limit = $W->BeginDate->Limit();

__END__
# Aldo Calpini
print sort {$_{$a} cmp $_{$b}} values %{{split undef, 
"xritajbugne fahokem csuctawer jhdtlrnpqloevkshpr"}};




Reply via email to