>Hello,
>How do I limit the number of characters or lines in a memo box? I haven't been very successful...
Something like the following should work: In the KeyPress() check
IF LEN( TRIM( this.value ) ) > MyLimit
NODEFAULT
ENDIF
You'll want to do some more advanced stuff like checking for whether the keypress is navigation key, or backspace, or delete, for example.
*sheesh. Or you could go the easy route and use Sergey's suggestion. doh!* :)