Page 1 of 1

MULTILINE GETS

Posted: Mon Feb 20, 2006 10:17 pm
by patili
Hi all
i want to extract each line of a multiline get into a string for printing this string.
I'm just a Fivewin beginner and i don't know how (Don't laugh..)
Thanks.

Re: MULTILINE GETS

Posted: Mon Feb 20, 2006 10:20 pm
by Enrico Maria Giordano
Have you tried MemoLine()?

EMG

Posted: Mon Feb 20, 2006 10:25 pm
by patili
I am using Fw 2.1 and i don't find this function

Posted: Mon Feb 20, 2006 10:28 pm
by Enrico Maria Giordano
It is a Clipper function.

EMG

Posted: Mon Feb 20, 2006 10:34 pm
by patili
Houpps
sometimes i forget to look in Clipper's functions .
I am maniac by Fivewin.
I think memoline() will work fine
Thankjavascript:emoticon(':lol:')
Thanks ....(of not laughing)

Posted: Tue Feb 21, 2006 4:45 am
by DanielPuente
Patili:

Code: Select all | Expand

FOR I:=1 TO MLCOUNT(cMemo,60)
   oPrn:cmSay(cLinea, 05.9, MEMOLINE(cMemo,60,I) , oFont2)
NEXT


The edit memo is edited with a fixed size font like courier new and it has the exact size to enter 60 characters in it.

Regards,

Posted: Tue Feb 21, 2006 7:18 am
by patili
Thanks for you two
It works fine