Search found 164 matches: hfont

Return to advanced search

Re: Problem with Vtaskbar of Paco

... the font run ok sample : oVmenu:oFonttitle:= oFontsample if I not set the font on object ...the class call a function if ::oFontTitle == nil      hFont := CreaFCapt()      lDestroyFont := .t.   else      hFont := ::oFontTitle:hFont   endif   hOldFont   := SelectObject(  hDC, hFont ...
by Silvio.Falconi
Mon Jan 25, 2016 12:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Vtaskbar of Paco
Replies: 1
Views: 453

Re: Font-problem with 15/12

... use further a public variable to hold the font!? This is the log after 1 call to a dialog: 08.01.2016 21:28:49: EXCESS RELEASE OF FONT Segoe UI[ hFont : 0] ( nCount : 0 ) <-TFONT:END(284) <-TCONTROL:DESTROY(2132) <-TGET:DESTROY(0) <-TWINDOW:HANDLEEVENT(0) <-TCONTROL:HANDLEEVENT(1733) ...
by byte-one
Fri Jan 08, 2016 7:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Font-problem with 15/12 (SOLVED)
Replies: 11
Views: 3144

New FTDN December/Diciembre 2015 (FWH 15.12)

... in menus * Fix FivEdit bug: path for files .obj generate * New: TScintila new data nMnuStyle * Enhancement: Font object can now be created from hFont. Eg: oFont := TFont():New( hFont ) * Enhancement: Usage of TransBmp() simplified. It is not necessary to call SetBkColor(), SetTextColor() etc ...
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: Mi App se cuelga

... como 0 BMP 0 BRUSH 0 BMP 0 BMP 0 BMP 0 BMP 0 BMP 0 BMP 0 BMP 0 BMP 0 FONT 0 BRUSH Y el fichero RESOURCE.TXT 15/11/2015 16:30:14: DeleteObject( ::hFont ) failed from TFont:End() -1173743625 0 .T. 15/11/2015 17:44:17: DeleteObject( ::hFont ) failed from TFont:End() -1693837186 0 .T. Saludos
by Armando
Sun Nov 15, 2015 11:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mi App se cuelga (SOLUCIONADO, bueno eso creo)
Replies: 27
Views: 5601

Re: Clase TIconGroup

... a ExtDrawIcon() En concreto: ::aCoors[ nAt ] = ExtDrawIcon( hDC, ::aCoors[ nAt, 1 ], ::aCoors[ nAt, 2 ], ; ::aIcons[ nAt ], ::aPrompts[ nAt ], hFont, ; ::nClrText, ::nClrPane, lFocused, .t., ::lEdit ) Yo probaría a cambiar el color de ::nClrPane Prueba asi: oIconGroup:bGotFocus := { || ::nClrPane ...
by Antonio Linares
Fri Jul 31, 2015 11:52 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase TIconGroup ( SOLUCIONADO )
Replies: 12
Views: 1733

Re: Program hang after 1505, *TSButton (Disable) Problem*

... I think the problem is GETFONTHEIGHT, that is defined in fivewin with a parameter as HFont and defined in bpaint.c with 2 parameters: an HDC and an HFont. Locally I renamed the bpaint version as GETFONTHEIGHT2 and replaced all calls. ...
by AntoninoP
Tue Jul 21, 2015 1:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Program hang after 1505, *TSButton-Disable (nil)* *Fixed*
Replies: 17
Views: 4052

Es correcto ? ChekRes o soy yo?

... ) No aparece nada, lo que creo que esta bien. Pero en Miapp.log me sale 09/03/2015 12:02:27: EXCESS RELEASE OF FONT MS SANS SERIF[ hFont : 0] ( nCount : 0 ) <-TFONT:END(246) <-MAIN(322) ------------------------------------------------------------ 09/03/2015 12:02:27: EXCESS ...
by D.Fernandez
Mon Mar 09, 2015 3:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Es correcto ? ChekRes o soy yo?
Replies: 4
Views: 625

Re: problema con SetFont

... hBrocha Local hPen1 Local hPen2 DEFAULT bFestivos := {|| ARRAY(0) } aFESTIVOS:=EVAL(bFestivos) // Se dibujan los dias. SelectObject( hDC, oFont:hFont) FOR A = 1 TO 42 // Se crea brocha para pintar el fondo del recuadro... hBrocha := CreateSolidBrush ( aClrDias[ A][ 2] ) // se carga la brocha, ...
by MOISES
Mon Feb 23, 2015 1:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con SetFont
Replies: 17
Views: 4754

Re: problema con SetFont

Hola Cristóbal, Probé efectivamente ::SetFont( oFont ) sin éxito. Sigue diciendo 23/02/2015 14:51:26: EXCESS RELEASE OF FONT Ms Sans Serif[ hFont : 0] ( nCount : 0 ) <-TFONT:END(246) <-MSGDATE(176) <-MAIN(47) ------------------------------------------------------------ Pongo un ejemplo ...
by MOISES
Mon Feb 23, 2015 1:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con SetFont
Replies: 17
Views: 4754

Re: problema con SetFont

... nAnchoCol, oFontMes, oFont, aColorTitulo,; cMesPalabra, cAno, aDiaSemana) LOCAL aPuntos[4] LOCAL A // Formato letra SelectObject(hDC, oFont:hFont) //Se selecciona el tipo de letra. SetTextColor( hDC, aColorTitulo[5] ) SetBkColor( hDC, aColorTitulo[2] ) // Se dibujan los titulos de los dias. ...
by MOISES
Mon Feb 23, 2015 11:05 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con SetFont
Replies: 17
Views: 4754

Re: Strange Font Problem in fwh 1412

Is this function Ok for cloning Font? Correct. But we should know that we are not creating a totally new object with totally new :hFont. This function actually returns the same object with its internal counter :nCount incremented. Actually, the internal method :Modify() achieves the same ...
by nageswaragunupudi
Wed Jan 28, 2015 1:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange Font Problem in fwh 1412
Replies: 18
Views: 3915

EXCESS RELEASE OF FONT

En un log del programa aparece esto : 19-01-2015 17:06:08: EXCESS RELEASE OF FONT Verdana[ hFont : 0] ( nCount : 0 ) <-TFONT:END(246) <-TCONTROL:DESTROY(2298) <-TGET:DESTROY(766) <-TWINDOW:HANDLEEVENT(0) <-TCONTROL:HANDLEEVENT(1733) <-TGET:HANDLEEVENT(575) ...
by mastintin
Mon Jan 19, 2015 4:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: EXCESS RELEASE OF FONT
Replies: 28
Views: 6985

Problem with MyRpt

... secs    Error occurred at: 12/05/14, 10:08:25   Error description: Error BASE/1004  Class: 'NIL' has no exported method: HFONT   Args:     [   1] = U   Stack Calls===========   Called from:  => HFONT( 0 )  ...
by Silvio.Falconi
Fri Dec 05, 2014 9:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with MyRpt
Replies: 0
Views: 353

Re: >Colores por cada letra de un texto

... hDC ) local nColor local nLeft := 10 local cTexto := "En un lugar de la mancha de cuyo nombre no quiero acordarme" local oFont local hFont local nLen := len( cTexto ) local cLetra, n DEFINE FONT oFont NAME "Segoe UI Light" SIZE 0, -18 hFont := SelectObject( hDC, oFont:hFont ...
by pgfdz
Wed Aug 13, 2014 7:46 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: >Colores por cada letra de un texto
Replies: 5
Views: 1113

Re: Bug in font management?

Antonio, Enrico, Please look for hOldFont in Class TBtnBmp where it is assigned and change it this way: hOldFont = SelectObject( ::hDC, ::oFont:hFont ) That solves it :-) I found two occurrences: hOldFont = SelectObject( ::hDC, If( ::lBarBtn, If( ::oWnd:oFont != nil, ::oWnd:oFont:hFont, ...
by Enrico Maria Giordano
Thu Jul 10, 2014 9:00 am
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Bug in font management? [Solved]
Replies: 7
Views: 1356
PreviousNext

Return to advanced search