FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour change on line header of xbrowse
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
change on line header of xbrowse
Posted: Wed Sep 28, 2022 07:58 PM
I have a xbrowse and show an array but have different header

I explain you

the array is called aArray and it is calculate with two option

the first have this header



the second have this header




I change the type of array from a combo



Array 1 option 1
Array 2 option 3

I try with oBrw:ResetBrowse() but it reset the array on oBrw but not the header ( and groupheader)

How I can Make ?
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
Posts: 1344
Joined: Wed Nov 16, 2005 09:14 PM
Re: change on line header of xbrowse
Posted: Wed Sep 28, 2022 11:01 PM
Silvio, creo que debeías rehacer los encabezados con una funcion en el ON CHANGE

Code (fw): Select all Collapse
ON CHANGE (oBrw:ResetBrowse(),aArray := Build_Array(), oBrw:SetArray(aArray),Build_Title())
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: change on line header of xbrowse
Posted: Thu Sep 29, 2022 05:23 AM
cmsoft wrote:Silvio, creo que debeías rehacer los encabezados con una funcion en el ON CHANGE

Code (fw): Select all Collapse
ON CHANGE (oBrw:ResetBrowse(),aArray := Build_Array(), oBrw:SetArray(aArray),Build_Title())

It go ok with your sample
then when i create another type of Array ,
resetbrowse erase the old Array but not the old acols(header and supergroupheader)
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