Memo

  • Thread starter Thread starter Lennart Selin
  • Start date Start date
L

Lennart Selin

Is there anyone who can help me how I can confine how much a user is
allowed to write into a Memo. I want the user to not write more than 20
rows.

This Memo I'll insert into a report. If the user had wrote more than 20
rows, I had notice that all fields below the Memo will move downwards. I
don't want to have it so.

Many thanks for your help.

Lennart
 
I haven't used this either but a quick look shows that Stephen count the
number of NewLines using the y variable. You may be able to place a
comparison there and do similar code to Stephen's original code.
 
Back
Top