Search found 30 matches: nbkmode

Return to advanced search

Re: Cabecera Lista de Precios

... recuadro negro y las letras aparezcan en blanco, para marcar un poco la diferencia de agrupación. Se podrá hacerlo con TPrinter? Probé con "nBkMode" pero no sé bien como funciona... no pude obtener resultados. Muchas gracias! Roberto
by TOTOVIOTTI
Fri Nov 04, 2022 11:58 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cabecera Lista de Precios
Replies: 4
Views: 634

Re: Ayuda Urgente

El método CmSay( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad, lO2A ) admite un parámetro nPad que
puede ser:

#define PAD_LEFT 0
#define PAD_RIGHT 1
#define PAD_CENTER 2
by Antonio Linares
Wed Apr 14, 2021 9:15 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Urgente impresión ** SOLUCIONADO
Replies: 9
Views: 1378

Re: Ayuda Imprimir Liquidacion de Sueldo

... liquidaciones de sueldo, usando impresora inyección de tinta. Me han recomendado que use "CmSay( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad, lO2A )", no se si será la mejor forma?. 1. Lo primero que necesito es centrar el Titulo considerando el total del ancho de una pagina ...
by FranciscoA
Sun Apr 04, 2021 4:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Imprimir Liquidacion de Sueldo
Replies: 18
Views: 4055

Ayuda Imprimir Liquidacion de Sueldo

... liquidaciones de sueldo, usando impresora inyección de tinta. Me han recomendado que use "CmSay( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad, lO2A )", no se si será la mejor forma?. 1. Lo primero que necesito es centrar el Titulo considerando el total del ancho de una pagina ...
by remtec
Sat Apr 03, 2021 12:13 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Imprimir Liquidacion de Sueldo
Replies: 18
Views: 4055

Re: Know the size of a font selected

... Here you see how to do. You have to change the pen before printing. Best regards, Otto METHOD Say( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad ) CLASS VRD IF ::oPrn:hDC = 0 RETURN NIL ENDIF DEFAULT oFont := ::oPrn:oFont DEFAULT nBkMode := 1 DEFAULT nPad := 0 IF oFont != nil oFont:Activate( ...
by Otto
Tue Nov 03, 2020 10:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Know the size of a font selected - Resolved -
Replies: 9
Views: 1543

Printer class question - RESOLVED

... x 1 y 5.5 width 4.5 height 0.8 Font Arial 12 Bottom position centered alignment I tried with CmSay( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad, lO2A ) but it's no god #include "fivewin.ch"#define PAD_LEFT            0#define PAD_RIGHT           1#define PAD_CENTER   ...
by Silvio.Falconi
Tue Oct 20, 2020 9:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printer class question - RESOLVED
Replies: 41
Views: 4998

Re: To Mister Nages - xBrowser

Dear Mr. Nages, I put the SetBkMode (hDC, 1) straight into the function and it worked. If nClrBack != NIL nBkMode := SetBkMode( hDC, OPAQUE ) nOldClr := SetBkColor( hDC, nClrBack ) Else SetBkMode( hDC, 1 ) EndIf Thank you very much. Att., Oliveiros Junior
by oliveiros junior
Wed Aug 19, 2020 7:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Mister Nages - xBrowser
Replies: 21
Views: 3078

Re: New FWH 19.03

oPrn:Say( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad ) I can say, that after i use a certain color for text, this color are stay in further oPrn:say()s! If i will back to black i must this explicit define in the next oPrn:say()! Please ...
by nageswaragunupudi
Thu Apr 11, 2019 2:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 19.03
Replies: 37
Views: 5886

Re: Urge: impresion en multifuncional

... at a certain coordinates. Syntax:<oPrn>:Say( <nRow>, <nCol>, <cText>, <oFont>, <nWidth>,<nClrText>,<nBkMode>, <nPad> ) Parameters: <nRow> <nCol> The coordinates where to display a text. They are graphical coordinates, and may be ...
by admsoporte
Mon Dec 31, 2018 11:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Urge: impresion en multifuncional
Replies: 4
Views: 902

Re: an image on btnbmp and other

... oBtn | DrawText2(hDC, oFont:hFont, 2, LTrim( Str(oBtn:Cargo)) + " " ,2, 20, 34, 62,CLR_WHITE, CLR_RED )} FUNCTION DrawText2( hDC, hFont, nBkMode, cText, nTop, nLeft, nWidth, nHeight,color,color2 ) LOCAL hFontOld:= SelectObject( hDC, hFont ) LOCAL nBkOld := SetBkMode( hDC, nBkMode ) SetTextColor( ...
by Silvio.Falconi
Wed May 23, 2018 9:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: an image on btnbmp and other
Replies: 21
Views: 4564

Re: an image on btnbmp and other

... cP, oBtn | DrawText2(hDC, oFont:hFont, 1, LTrim( Str(oBtn:Cargo)) + " " ,2, 30, 34, 62, CLR_WHITE )} FUNCTION DrawText2( hDC, hFont, nBkMode, cText, nTop, nLeft, nWidth, nHeight,color ) LOCAL hFontOld:= SelectObject( hDC, hFont ) LOCAL nBkOld := SetBkMode( hDC, nBkMode ) SetTextColor( ...
by Silvio.Falconi
Wed May 23, 2018 9:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: an image on btnbmp and other
Replies: 21
Views: 4564

Re: Printing an image.

... "AAA", oFont1 ) * 0.5 // 0.5 * textwidth nFontHeight := oFont1:nHeight // points // CmSay( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad, lO2A ) oPRINT:cmSay( 10.5 - oFont1:nHeight * 0.002834645669291, 14.85 - nTextCentH, "AAA", oFont1,,CLR_BLACK,,PAD_LEFT ) // ...
by ukoenig
Mon Sep 19, 2016 9:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printing an image.
Replies: 18
Views: 6025

Re: Report Drill Down

... METHOD Say( nCol, xText, nFont, nPad, nRow ) of Treport a and insert a call to urllink class or Say( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad ) CLASS TPrinter because say of report depend from say of printer class
by Silvio.Falconi
Wed Jan 13, 2016 12:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Report Drill Down
Replies: 34
Views: 9556

Re: Colocar Negrilla en mitad del texto

Dear Antonio,
I think it is METHOD Say( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad ) CLASS VRD.
Best regards,
Otto
by Otto
Sat Jul 25, 2015 9:10 pm
 
Forum: EasyReport, EasyDialog y EasyPreview
Topic: Colocar Negrilla en mitad del texto
Replies: 19
Views: 11102

Re: Colocar Negrilla en mitad del texto

... ) oRTF:print else TextOut( ::oPrn:hDCOut, nRow, nCol, cText ) endif Best regards, Otto METHOD Say( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad ) CLASS VRD IF ::oPrn:hDC = 0 RETURN NIL ENDIF DEFAULT oFont := ::oPrn:oFont DEFAULT nBkMode := 1 DEFAULT nPad := 0 IF oFont != nil oFont:Activate( ...
by Otto
Fri Jul 24, 2015 9:35 am
 
Forum: EasyReport, EasyDialog y EasyPreview
Topic: Colocar Negrilla en mitad del texto
Replies: 19
Views: 11102
Next

Return to advanced search