FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xbrowser header
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
xbrowser header
Posted: Tue Nov 19, 2024 11:36 AM
I have problem to erase a header on xbrowser

I explain you before I have on a type of visualization of my archive


Code (fw): Select all Collapse
 
oDbf:GoTop()
  do while !oDbf:Eof
    oBrw:aCols[nIni]:cHeader := "1"
    oBrw:aCols[nIni+1]:cHeader := "2"
    oBrw:aCols[nIni+2]:cHeader := "3"
    oBrw:aCols[nIni+3]:cHeader := "4"
    oBrw:aCols[nIni+4]:cHeader := "5"

    cTitle:= dtoc(oDbf:data)
  //  oBrw:SetGroupHeader( cTitle, nIni, nIni+4 )

    AEval( oBrw:aCols, { |o| o:cGrpHdr := cTitle }, nIni, nIni+4 )
    AEval( oBrw:aCols, { |o| o:nGrpHeight := 25 } )


Now I wish erase the line wher eis the numbers from 1 to 5 so I tried to change the cheader in ""
Code (fw): Select all Collapse
 
     oBrw:aCols[nIni]:cHeader := ""
    oBrw:aCols[nIni+1]:cHeader := ""
    oBrw:aCols[nIni+2]:cHeader := ""
    oBrw:aCols[nIni+3]:cHeader := ""
    oBrw:aCols[nIni+4]:cHeader := ""



If I erase these lines
Code (fw): Select all Collapse
 
     oBrw:aCols[nIni]:cHeader := "1"
    oBrw:aCols[nIni+1]:cHeader := "2"
    oBrw:aCols[nIni+2]:cHeader := "3"
    oBrw:aCols[nIni+3]:cHeader := "4"
    oBrw:aCols[nIni+4]:cHeader := "5"
I have problems




because it show the letters

I tried also to set

::oLbx:nHeaderHeight := 0

Ho I can resolve to have only the headers with only dates?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion