change on line header of xbrowse

change on line header of xbrowse

Postby Silvio.Falconi » Wed Sep 28, 2022 7: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

Image

the second have this header

Image


I change the type of array from a combo

Image

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 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: 6772
Joined: Thu Oct 18, 2012 7:17 pm

Re: change on line header of xbrowse

Postby cmsoft » Wed Sep 28, 2022 11:01 pm

Silvio, creo que debeías rehacer los encabezados con una funcion en el ON CHANGE

Code: Select all  Expand view

ON CHANGE (oBrw:ResetBrowse(),aArray := Build_Array(), oBrw:SetArray(aArray),Build_Title())
 
User avatar
cmsoft
 
Posts: 1189
Joined: Wed Nov 16, 2005 9:14 pm
Location: Mercedes - Bs As. Argentina

Re: change on line header of xbrowse

Postby Silvio.Falconi » Thu Sep 29, 2022 5:23 am

cmsoft wrote:Silvio, creo que debeías rehacer los encabezados con una funcion en el ON CHANGE

Code: Select all  Expand view

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 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: 6772
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 94 guests