xbrowser header

xbrowser header

Postby Silvio.Falconi » 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

Image

Code: Select all  Expand view  RUN

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: Select all  Expand view  RUN

     oBrw:aCols[nIni]:cHeader := ""
    oBrw:aCols[nIni+1]:cHeader := ""
    oBrw:aCols[nIni+2]:cHeader := ""
    oBrw:aCols[nIni+3]:cHeader := ""
    oBrw:aCols[nIni+4]:cHeader := ""


Image


If I erase these lines

Code: Select all  Expand view  RUN

     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

Image


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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7068
Joined: Thu Oct 18, 2012 7:17 pm

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 54 guests

cron