XBROWSE Master / Detail Example

Post Reply
shri_fwh
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

XBROWSE Master / Detail Example

Post by shri_fwh »

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

Re: XBROWSE Master / Detail Example

Post by Silvio.Falconi »

Please there are many samples of Mr Rao on forum
http://forums.fivetechsupport.com/searc ... e&start=15
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
shri_fwh
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: XBROWSE Master / Detail Example

Post by shri_fwh »

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

Re: XBROWSE Master / Detail Example

Post by Silvio.Falconi »

yes of course,
pls insert here a small sample
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Post Reply