Estoy usando la clase TPRINTER así
- Code: Select all Expand view
oPrn:CMSAY(nRow,4.25,"TIE671206BF2",oFnt3,,cClrTxt)
Cómo puedo imprimir el texto en blanco y el fondo negro?
Saludos
oPrn:CMSAY(nRow,4.25,"TIE671206BF2",oFnt3,,cClrTxt)
nOldClr := SetBkColor( oPrn:hDCOut, CLR_BLACK )
oPrn:CmSay( 10, 4.25,"TIE671206BF2",oFont,,CLR_WHITE, 2 )
SetBkColor( oPrn:hDC, nOldClr )
@ 20,4.25 PRINT TO oPrn TEXT "TIE671206BF2" SIZE 40,1 CM COLOR CLR_WHITE,CLR_BLACK FONT oFont
#xcommand @ <nRow>, <nCol> PRINT TO <prn> TEXT <cText> ;
[SIZE <nWidth> [,<nHeight>] ] ;
[<unit: PIXEL,MM,CM,INCHES>] ;
[FONT <fnt>] ;
[ALIGN <aln>] ;
[COLOR <nTxt> [,<nBck> ] ] ;
[LASTROW <lrow>] ;
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: No registered users and 89 guests