Page 1 of 1

converting to fwh

Posted: Fri Feb 13, 2015 6:00 pm
by Silvio.Falconi
I have command as :
aD := { "Lunedi", "Martedi", "Mercoledi", "Giovedi", "Venerdi", "Sabato" }
? " |"
FOR i := 1 TO 6
?? PadC( aD[ i ], LARG ) + "|"
NEXT
? "---+" + Replicate( Replicate( "-", LARG ) + "+", 6 )

How I can convert it into printer fwh ?
or exist a class that read the old clipper command ?

Re: converting to fwh

Posted: Sun Feb 15, 2015 7:57 pm
by mercurial
Instead of printing, create a string variable. Then use a listbox widget and add a new line with the string text. Of course, assign the listbox Courier New font, so that all text is aligned.

Or, if you consider all the code, you can create a table and assign cell text....