XBROWSE Master / Detail Example

XBROWSE Master / Detail Example

Postby shri_fwh » Wed Jan 15, 2020 3:33 am

Dear Rao Sir ,

Looking for XBROWSE Master / Detail example which display data master record and detail records in same the XBROWSE control.

Have seen oBrw:SetTree() Method but it has collapse / folding functions which is not required to the end user.

Could you please suggest an example on this. Thanks in advance...!

Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
shri_fwh
 
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: XBROWSE Master / Detail Example

Postby Silvio.Falconi » Mon Jan 20, 2020 8:14 am

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

Re: XBROWSE Master / Detail Example

Postby shri_fwh » Mon Jan 20, 2020 10:37 am

Hi Silvio,

Yes , There are example using SeTree() method which needs to Expand and Shrink manual operation.

The user requirement is that Master Record should appear with different font/color/columns from details records within the same XBROWSE and no need to expand/shrink manual operation.

I am trying to use paintrow() method and in the MariaDB Rowset there will be column value which indicates the either Master or detail record with desired order in the rowset.

I could achieve this some extent but it is not fully. Currently facing problem problem with border outline and paint issue with Master Record.



Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
shri_fwh
 
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: XBROWSE Master / Detail Example

Postby Silvio.Falconi » Mon Jan 20, 2020 1:17 pm

yes of course,
pls insert here a small sample
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: 7053
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 92 guests

cron