Greetings,
I'm trying to print text of various length in 1 paragraph. I can't figure out how to make the next line of text start where the last line left off? Each line of text can be from 1 to 255 chars in length.
Using VPE4 Pro, XP, and Visual Lansa (it's like VB), and the Active X control.
Sample code:
SELECTLIST NAMED(#memos) /* This is a loop */
INVOKE METHOD(#VPE.Print) LEFT(#vpe.nRight) TOP(#vpe.nTop) TEXT(#text3)
ENDSELECT
Also tried:
INVOKE METHOD(#VPE.RenderWrite) LEFT(0) TOP(0) RIGHT(0) BOTTOM(0) TEXT(#text3)
#height := #vpe.nRenderHeight
#width := #vpe.nRenderWidth
INVOKE METHOD(#VPE.Write) LEFT(#vpe.nRight) TOP(#vpe.nTop) RIGHT(#width) BOTTOM(#height) TEXT(#text3)
All to no avail - most times when I print out the variables (height, width) it has zeroes for most. Visual Lansa does not recognise the V flags (IE VFREE - is there a numeric value I can use instead of VFREE?)
Can you please give me an example of how to print multiple lines of text concurrently? IE - Line 1 ends with "li" and Line 2 starts with "ke" and I'd like it to come out as "like"!
Thank you,
Pat