General information
Category:
Coding, syntax & commands
Hi Dragan:
Thanks for the time you spend in explaining me.
Now I've understood you. It reminds me the function FREADSTR() (at least in Clipper) and FSEEK() with the offset and the byte.
Anyway it didn't work.
The test line I want to print has 46 characters. Well. The code you suggested me prints 40 (the real wide of the paper) I must say I changed the code. Not 33 but 40. And the _mline variable after the first ??? is 46
As the last 7 characters are a word MLCOUNT() and MEMOLINE() Clipper functions are intelligent and cut in the byte 39 and print 39 characters. The rest is the second line.
Apparently MLINE() function assumes there is any character which indicates the end of a line (in Clipper was CHR(114) or so named "soft carriage return") but that applies to memo fields edited in a MEMOEDIT() function. You can press enter (hard carriage return) or let function memoedit force a soft carriage return so that the text is not scrolled horizontally but vertically.
Don't insist. VFP hasn't got such marvelous functions MLCOUNT() and. MEMOLINE()
I really thank you very much.
Héctor
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only