Search found 49 matches: paintheader

Searched query: paintheader

by Antonio Linares
Fri Jan 24, 2025 11:19 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4836

Re: Using new Class TDeepSeek for documenting

... Methods for displaying and closing temporary message boxes within the browse.

DrawChart(), DrawChartInRect(), PaintBmpAndText(), PaintHeader(), PaintFooter(), PaintHDivider(), PaintVDivider(), PaintTopBar(), PaintCellBack(), PaintCell(), PaintCellBtn(), PaintCellImage ...
by Antonio Linares
Fri Jan 24, 2025 10:38 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4836

Re: Using new Class TDeepSeek for documenting

... Same as DATA member PaintVDivider)

Return Value: None

Usage Example: (Internal use only - method version for codeblock usage)

263. PaintHeader( hDC, aCols, nLast, hWhitePen, hGrayPen, hColPen )

Description: Accessor for PaintHeader (same as DATA member, method version for codeblock ...
by Antonio Linares
Fri Jan 24, 2025 10:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4836

Re: Using new Class TDeepSeek for documenting

... Pen handle for column lines.

hWhitePen: OBJECT - Pen handle for white color.

Return Value: None

Usage Example: (Internal use only)

190. PaintHeader( hDC, aCols, nLast, hWhitePen, hGrayPen, hColPen )

Description: Paints the header area of the browse (internal method).

Parameters:

hDC ...
by JoséQuintas
Wed Dec 18, 2024 4:54 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Browse of my ADO Class
Replies: 59
Views: 12782

Re: Browse of my ADO Class

... DELETEOBJECT(0)
Called from FILLRECTEX(0)
Called from FW_SAYTEXT(0)
Called from TXBRWCOLUMN:PAINTBMPANDTEXT(14494)
Called from TXBRWCOLUMN:PAINTHEADER(14604)
Called from TXBROWSE:PAINTHEADER(2885)
Called from TXBROWSE:PAINT(2402)
Called from TXBROWSE:DISPLAY(2221)
Called from TCONTROL ...
by Silvio.Falconi
Sun Mar 19, 2023 9:34 am
Forum: FiveWin for Harbour/xHarbour
Topic: move the bitmap of the xbrowse sort
Replies: 2
Views: 387

Re: move the bitmap of the xbrowse sort

... Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:PAINTBMPANDTEXT( 13879 )
Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:PAINTHEADER( 14044 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINTHEADER( 2825 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINT ...
by Silvio.Falconi
Thu Sep 29, 2022 7:20 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Error on Header of Xbrowse
Replies: 2
Views: 330

Error on Header of Xbrowse

... BASE/1081 Argument error: +
Args:
[ 1] = N 2
[ 2] = U

Stack Calls
===========
Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:PAINTHEADER( 14000 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINTHEADER( 2825 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINT ...
by MGA
Wed Apr 05, 2017 2:29 am
Forum: FiveWin para Harbour/xHarbour
Topic: TCALEX - Sr. Cristobal Navarro
Replies: 18
Views: 4260

Re: TCALEX - Sr. Cristobal Navarro

... prg:

METHOD SetDate( dDate ) CLASS TMonthView
...
::dEnd := ::dStart + 34
::nWks := 6 <------------------------------ De 5 para 6
...

METHOD PaintHeader( hDC ) CLASS TMonthView
//local dFirstDateWeek := ::GetFirstDateWeek( ::dDate ) //::dDate - DoW( ::dDate ) + 1
local dFirstDateWeek := ::dDate ...
by nageswaragunupudi
Mon Feb 06, 2017 2:51 am
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse MakeTotals: Improvements in FWH 16.12 and 17.01
Replies: 8
Views: 5980

Re: XBrowse MakeTotals: Improvements in FWH 16.12 and 17.01

Fixed and the fix is available in FWH 17.02.

You can implement the fix with the following correction.
Please locate these lines in the
METHOD PaintHeader(...) CLASS TXBrwColumn
&nbsp; &nbsp;if nCol != nil&nbsp; &nbsp; &nbsp; if nCol != 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::nDisplayCol := nCol&nbsp ...
by FranciscoA
Fri Apr 10, 2015 3:33 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Pequeño aporte: Cambiar Color a Header/Footer 1 Col.
Replies: 12
Views: 4981

Re: Pequeño aporte: Cambiar Color a Header/Footer 1 Col.

Mr Nages.

Gracias por sus sugerencias, su atención, y su codigo.

Precisamente estaba tratando de crear la function RefreshHeaders() y/o usar PaintHeader(), pero aún no lo había logrado de ese modo, así que decidí exponer el código por si alguien decidía mejorarlo.

Nuevamente, gracias ...
by nageswaragunupudi
Fri Apr 10, 2015 2:17 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Pequeño aporte: Cambiar Color a Header/Footer 1 Col.
Replies: 12
Views: 4981

Re: Pequeño aporte: Cambiar Color a Header/Footer 1 Col.

... 1 to nLast aCols&#91; nFor &#93; := nCol oCol := oBrw:ColAtPos&#40; nFor &#41; nCol += oCol:nWidth + 2 next aCols&#91; nFor &#93; := nCol oBrw:PaintHeader&#40; oBrw:GetDC&#40;&#41;, aCols, nLast, oBrw:hWhitePen, oBrw:hBtnShadowPen, oBrw:hColPen &#41; oBrw:ReleaseDC&#40;&#41;return nil ...
by nageswaragunupudi
Thu Oct 09, 2014 3:34 am
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Rao, error in SetGroupHeader the xBrowse
Replies: 1
Views: 442

Re: Mr. Rao, error in SetGroupHeader the xBrowse

... me personally by email.
But for the benefit of all I like to post the fix.

Please make this correction in the xbrowse.prg.

In the method PaintHeader( ... ) class TXBrowse, please locate this line of code:

present code:
if oCol:cGrpHdr != cGrpHdr
please change this line as:
if .not. ( oCol ...
by Marcelo Via Giglio
Sun Apr 06, 2014 4:10 pm
Forum: To do - WishList / Por hacer - Peticiones
Topic: Xbrowse header's sort bitmap
Replies: 0
Views: 1446

Xbrowse header's sort bitmap

... IF&#40; ::oBrw:lSortBmp, ::oBrw:aSortBmp&#91; 1 &#93;&#91; BITMAP_WIDTH &#93;, 0 &#41; + BMP_EXTRAWIDTH // MVG endif

Finally
In METHOD PaintHeader CLASS TXBrwColumn Modify
if ! Empty&#40; ::cOrder &#41; .AND. ::oBrw:lSortBmp aBitmap := ::oBrw:aSortBmp&#91; If&#40; ::cOrder == 'A', 1, 2 ...
by cnavarro
Fri Nov 01, 2013 11:10 am
Forum: FiveWin para Harbour/xHarbour
Topic: XBrowse y Grupo de Columnas
Replies: 24
Views: 10769

Re: XBrowse y Grupo de Columnas

... modify or AL_RIGHT?

nageswaragunupudi escribió:

This is not provided even in the current version.
You need to change xbrowse.prg or override paintheader() method of TXBrwColumn


Asi se ve el ejemplo con FW13.08 (XBrowse original)

So you see the example FW13.08 (Original xBrowse)

http&#58 ...
by cnavarro
Mon Oct 07, 2013 7:12 pm
Forum: FiveWin para Harbour/xHarbour
Topic: XBrowse y Grupo de Columnas
Replies: 24
Views: 10769

Re: XBrowse y Grupo de Columnas

... modify or AL_RIGHT?

nageswaragunupudi escribió:

This is not provided even in the current version.
You need to change xbrowse.prg or override paintheader() method of TXBrwColumn


Asi se ve el ejemplo con FW13.08 (XBrowse original)

So you see the example FW13.08 (Original xBrowse)

http&#58 ...
by cnavarro
Wed Aug 21, 2013 11:34 pm
Forum: FiveWin para Harbour/xHarbour
Topic: XBrowse y Grupo de Columnas
Replies: 24
Views: 10769

Re: XBrowse y Grupo de Columnas

... how to come out AL_LEFT modify or AL_RIGHT?

This is not provided even in the current version.
You need to change xbrowse.prg or override paintheader() method of TXBrwColumn

Si, ya lo tengo implementado

Yes, I have already implemented

- Like I can paint text in the cell that I have the ...