Search found 13 matches: paintfooter

Return to advanced search

Re: error on xbrowse footer

If you look into METHOD PaintFooter( nRow, nCol, nHeight, lInvert ) CLASS TXBrwColumn you see that cFooter := ::footerStr() and ::PaintBmpAndText( { nRow, nCol, nRow + nHeight, nRight }, ; cFooter, ::nFootStrAlign, ::bLeftText, oFont, ...
by Otto
Thu Apr 30, 2020 8:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error on xbrowse footer - RESOLVED! -
Replies: 33
Views: 3636

New FTDN April/Abril 2016 (FWH 16.04)

... number of the column. It is also possible to Hide/Show an entire Group. (18)Custom painting of Header/Footer: New datas oBrw:bPaintHeader, oBrw:PaintFooter, oCol:bPaintHeader and oCol:bPaintFooter enable a programmer to implement custom painting of headers/footers. (19)New DATA nHeadDividerStyle ...
by Antonio Linares
Thu May 12, 2016 6:51 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2016 (FWH 16.04)
Replies: 8
Views: 7582

xBrowse Melhoria FOOTER.

DATA lFootAlignBtn AS LOGICAL INIT .f. // Usado para alinhar o rodapé quando houver um botão (EDIT_GET_BUTTON) METHOD PaintFooter( nRow, nCol, nHeight, lInvert ) CLASS TXBrwColumn ... else if SetAlpha() .and. aBitmap[ BITMAP_ALPHA ] ABPaint( hDC, nBmpCol, nBmpRow, aBitmap[ BITMAP_HANDLE ...
by MGA
Mon Jul 07, 2014 2:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse Melhoria FOOTER.
Replies: 0
Views: 298

Re: Xbrowse , Total and SetProgBar

... SetProgBar is not implemented for the total in the footer row. If we need to paint any dynamic graphics on the footer we need to modify the method paintfooter. The best way of implementation is to have a derived class and use the same for browse(s) that need to use this feature.
by nageswaragunupudi
Mon Jul 25, 2011 7:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse , Total and SetProgBar
Replies: 6
Views: 1155

Footer en TXBrowse

... hDC, nCol - 2, nRow + nHeight - 2, hGrayPen ) MoveTo( hDC, nCol - 1, nRow + 1 ) LineTo( hDC, nCol - 1, nRow + nHeight - 2, hWhitePen ) ENDIF oCol:PaintFooter( nRow, nCol, nHeight ) //Pinta footer de cada col. next nCol := aCols[ nFor ] //ultimo divisor de col MoveTo( hDC, nCol - 2, nRow + 1 ) ...
by FranciscoA
Thu Jan 01, 2009 7:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Footer en TXBrowse
Replies: 1
Views: 515

... nCol + nWidth }, hBrush ) DeleteObject( hBrush ) endif //----------------------------------------------------------------------------// METHOD PaintFooter( nRow, nCol, nHeight, lInvert ) CLASS TXBrwColumn local hDC, hBrush local oFont local aColors, aBitmap local cFooter local nWidth, nBmpRow, ...
by FranciscoA
Sun Oct 19, 2008 3:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: No encuentro las mejoras hechas a xbrowse por franciscoA ??
Replies: 17
Views: 4452

... la apariencia de Office 2007. Por favor, revisa el ejemplo samples\TestTabs.prg. Tiene una apariencia muy elegante !!! * Corrección: El método PaintFooter() de la clase TXBrwColumn no estaba usando la fuente correcta. Ahora lo hace correctamente. * Mejora: La clase TOutLook2003 tiene un nuevo ...
by Antonio Linares
Mon Feb 11, 2008 9:38 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN February / Febrero 2008 (8.02)
Replies: 1
Views: 2721

New FTDN February / Febrero 2008 (8.02)

... * Enhancement: Class TTabs now uses Office 2007 look. Please review samples\TestTabs.prg. It looks really nice! * Fix: Class TXBrwColumn Method PaintFooter() was not using the right font. Now it is ok. * Enhancement: Class TOutLook2003 new DATA nOption. It keeps the current selected group. * ...
by Antonio Linares
Sun Feb 10, 2008 8:18 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN February / Febrero 2008 (8.02)
Replies: 1
Views: 2721

Bug in xbrowse

Mr. Linares,
in xbrowse the font-object from footer are always the font-object from header! Please check the source from method PaintFooter. Wrong is oFont := ::oHeaderFont. Should be oFont := ::oFooterFont!
by byte-one
Fri Jan 04, 2008 12:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug in xbrowse
Replies: 1
Views: 518

xbrowse, font from footer

Mr. Linares,
in xbrowse the font from footer are always the font from header! Please check the source from method PaintFooter. Wrong is oFont := ::oHeaderFont.
by byte-one
Thu Dec 27, 2007 3:15 pm
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: xbrowse, font from footer
Replies: 0
Views: 758

... data bStrFooter, que contiene un codeblock que nos debe retornar lo que queremos visualizar en el pie de la columna. Hay que modificar el metodo PaintFooter, y en la linea donde asigna valor a cFooter cambiarla por la siguiente. cFooter := IF(::bStrFooter==NIL,::cFooter,Eval( ...
by Biel EA6DD
Fri Sep 28, 2007 1:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse -> Footers Calculo de totales de esa columna??
Replies: 13
Views: 3387

Julio,

Prueba con:

oCol[1]:cFooter := Tran( nTotal, "9999,999,999" )

oCol[1]:PaintFooter( oBrowse:nHeight - oBrowse:nFooterHeight, nil, oBrowse:nFooterHeight - 3 )
by Antonio Linares
Thu May 17, 2007 8:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Refresco de Footer en xbrowse
Replies: 9
Views: 2246

Hola Juan: Contestando a tus dos cuestiones: (1) Sí, es un 'bug', se corrige fácilmente en la clase xBrowse cambiando la línea 3610 del METHOD PaintFooter() donde pone: oFont := ::oHeaderFont debe poner: oFont := ::oFooterFont (2) Como tú propones puedses asignar color ...
by Ramón Avendaño
Fri May 11, 2007 10:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse - error en con los footer y font
Replies: 2
Views: 810

Return to advanced search