FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Mr. Rao, error in SetGroupHeader the xBrowse
Posts: 389
Joined: Wed Nov 29, 2006 01:51 PM
Mr. Rao, error in SetGroupHeader the xBrowse
Posted: Mon Sep 22, 2014 09:59 AM

Hello,

if I put:

:SetGroupHeader ("OVENS", 15, 20)
:SetGroupHeader (" OVENS SECONDARY ", 21, 26)

he treads on the first title with the second one and does 1 alone group to me

Thank you.
Regards, Ariel.

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Mr. Rao, error in SetGroupHeader the xBrowse
Posted: Thu Oct 09, 2014 03:34 AM

I answered you when you contacted 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:cGrpHdr == cGrpHdr )
This is the fix required. This fix is adopted for release in the next version.

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion