Search found 76 matches: settextcolor

Return to advanced search

Re: Know the size of a font selected

... nil oFont:Activate( ::oPrn:hDCOut ) ENDIF // 1,2 transparent or Opaque SetbkMode( ::oPrn:hDCOut, nBkMode ) IF nClrText != NIL #IFDEF __HARBOUR__ SetTextColor( ::oPrn:hDCOut, nClrText ) #ELSE SetTextCol( ::oPrn:hDCOut, nClrText ) #ENDIF ENDIF DO CASE CASE nPad == 1 // right nCol := Max( 0, nCol ...
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: 1322

Re: Actualizar en un BMP

... 5 minutos" lo que requiero es que se vean de forma "Transparente", como lo hace: oBmp:bPainted = { || SetBkMode( oBmp:hDC, 1 ),; SetTextColor( oBmp:hDC, CLR_BLACK ),; TextOut( oBmp:hDC, 20, 540, "Numero de Clientes:" ) } Pero necesito cambiarle, el color, el tamaño y ...
by servicomver
Tue May 12, 2020 2:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Actualizar en un BMP
Replies: 3
Views: 460

Actualizar en un BMP

... @ 5, 5 BITMAP oBmp2 FILENAME "c:\conteo\logo.bmp" SIZE 500, 400 OF oWnd NOBORDER oBmp:bPainted = { || SetBkMode( oBmp:hDC, 1 ),; SetTextColor( oBmp:hDC, CLR_YELLOW ),; TextOut( oBmp:hDC, 50, 15, "Actualmente con nosotros" ) } //¿ Se puede cambiar el tamaño de la fuente ...
by servicomver
Mon May 11, 2020 9:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Actualizar en un BMP
Replies: 3
Views: 460

harbour_for_mod_harbour error compiler

Hi Antonio. I'm trying to test mod_harbour . The first impression is EXCELLENT !!! Using harbour language on the web with Apache is absolutely amazing . WOW ...... Toady I’m trying to build the harbour for mod_harbour exe compiler for later building an hrb file to include inside my project. The comm...
by giuliano
Tue Aug 20, 2019 9:01 am
 
Forum: mod_harbour
Topic: harbour_for_mod_harbour error compiler
Replies: 14
Views: 1667

Re: New FWH 19.03

... for all subsequent says, till they are reset either by another call to Say() method with a different color and bkmode or explicitly changed by SetTextColor() / SetBkMode(). In other words, calling Say() with a text color, switches the color for the current and all subsequent says, rather than ...
by nageswaragunupudi
Thu Apr 11, 2019 2:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 19.03
Replies: 37
Views: 4928

Re: New FWH 19.03

... have to modify that class every time you have an update. Here is what I suggested: line 614: Add: , nOldColor := GetTextColor( ) line 659: Add: SetTextColor( ::hDCOut, nOldColor ) I was surprised this was not considered on this release since the suggestion was provided several weeks ago, and ...
by TimStone
Tue Apr 09, 2019 12:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 19.03
Replies: 37
Views: 4928

Re: Testing Debenu Quick PDF Library

... SelectPage SetBaseURL SetInformation SetMeasurementUnits SetOrigin SetPageBox SetPageDimensions SetPageLayout SetPageMode SetPageSize SetTextAlign SetTextColor SetTextSize SetTextUnderline Unfortunately, ImportEMFFromFile is not one of them..
by Marc Vanzegbroeck
Sun Mar 10, 2019 11:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Testing Debenu Quick PDF Library
Replies: 44
Views: 7463

Re: an image on btnbmp and other

... nBkMode, cText, nTop, nLeft, nWidth, nHeight,color,color2 ) LOCAL hFontOld:= SelectObject( hDC, hFont ) LOCAL nBkOld := SetBkMode( hDC, nBkMode ) SetTextColor( hDC, color ) setBkColor( hDC, color2 ) DrawText( hDC, cText, { nTop, nLeft, nTop+nWidth, nLeft+nHeight } ) SelectObject( hDC, hFontOld ...
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: 3882

Re: an image on btnbmp and other

... hFont, nBkMode, cText, nTop, nLeft, nWidth, nHeight,color ) LOCAL hFontOld:= SelectObject( hDC, hFont ) LOCAL nBkOld := SetBkMode( hDC, nBkMode ) SetTextColor( hDC, color ) DrawText( hDC, cText, { nTop, nLeft, nTop+nWidth, nLeft+nHeight } ) SelectObject( hDC, hFontOld ) SetBkMode( hDC, nBkOld ...
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: 3882

nClrText em ButtonBmp não funciona

Estou tentando trocar a cor do Texto do botão em ButtomBmp mais não funciona.

To fazendo assim:
oBtnCancel:nClrText := CLR_HRED

Ja tentei SetColor, SetTextColor(oBtnCancel:hDC,CLR_HRED) também não funciona.

Alguem tem outra solução ?
by Giovany Vecchi
Tue Mar 06, 2018 4:21 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: nClrText em ButtonBmp não funciona
Replies: 2
Views: 699

Re: Ayuda DLL

Antonio, aquí la segunda parte: Error: Unresolved external '_HB_FUN_DRAWTHEMED' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_GETDLGBASEUNITS' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_CDLG2CHR' referenced from P...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6329

Re: Clase TCalex algunos problemitas....

... == 1 // si el calendario comienza en lunes se debería reemplazar por 7 para que las fechas domingo aparezcan en rojo en el calendario nOldClr := SetTextColor( hDC, nRGB(200,0,0) ) else nOldClr := SetTextColor( hDC, ::nClrText ) endif *----- fin fjhg al tener una constante el el valor de la columna ...
by jose_murugosa
Mon Aug 29, 2016 6:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase TCalex algunos problemitas....
Replies: 7
Views: 1337

question for trichedit

... 5 Question I can change the color of the text with ortf:SetTextColor( ChooseColor( ncolor ) ) but I not have the ncolor current of the text how I can found it ? --------------------------------------------------------------------------------------------------------------------------------------------- ...
by Silvio.Falconi
Sun Apr 24, 2016 5:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: question for trichedit
Replies: 10
Views: 2455

New FTDN December/Diciembre 2015 (FWH 15.12)

... be created from hFont. Eg: oFont := TFont():New( hFont ) * Enhancement: Usage of TransBmp() simplified. It is not necessary to call SetBkColor(), SetTextColor() etc and not necessary to provide zerozeroclr before calling TransBmp() function.
by Antonio Linares
Sun Jan 03, 2016 11:03 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2015 (FWH 15.12)
Replies: 0
Views: 704

Re: Colocar Negrilla en mitad del texto

... nil oFont:Activate( ::oPrn:hDCOut ) ENDIF // 1,2 transparent or Opaque SetbkMode( ::oPrn:hDCOut, nBkMode ) IF nClrText != NIL #IFDEF __HARBOUR__ SetTextColor( ::oPrn:hDCOut, nClrText ) #ELSE SetTextCol( ::oPrn:hDCOut, nClrText ) #ENDIF ENDIF DO CASE CASE nPad == 1 // right nCol := Max( 0, nCol ...
by Otto
Fri Jul 24, 2015 9:35 am
 
Forum: EasyReport, EasyDialog y EasyPreview
Topic: Colocar Negrilla en mitad del texto
Replies: 19
Views: 8360
Next

Return to advanced search