converting to fwh

converting to fwh

Postby Silvio.Falconi » Fri Feb 13, 2015 6:00 pm

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 ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6774
Joined: Thu Oct 18, 2012 7:17 pm

Re: converting to fwh

Postby mercurial » Sun Feb 15, 2015 7:57 pm

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....
mercurial
 
Posts: 16
Joined: Wed Feb 04, 2015 2:26 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 82 guests