Hi,
Is it possible to combine xBrowse columns only for specific rows ?
Combine xBrowse columns
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
- damianodec
- Posts: 422
- Joined: Wed Jun 06, 2007 2:58 pm
- Location: Italia
- Contact:
Re: Combine xBrowse columns
xbcelmrg.prg?
from which version?
In 17.09 there is not
from which version?
In 17.09 there is not
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
Re: Combine xBrowse columns
xcelmg.prg is a good example! However, the bExtand code block assumes gluing columns starting from the first one.
How do I glue, for example, only 2 and 3 columns ?
Is it possible not to show column separators in one line ?
How do I glue, for example, only 2 and 3 columns ?
Is it possible not to show column separators in one line ?
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
Re: Combine xBrowse columns
Code: Select all | Expand
oBrw:aCols[ 2 ]:bExtend := { If( <cond>, 1, 0 ) }
For any column, number of columns returned by bExtend, to the right of the current column are merged with the current column
If aCols[ 3 ]:bMerge returns 3, then columns 3,4,5,6 are merged. ( col 3 to col 3+3 )
If aCols[ 2 ]:bMerge returns 1. columns 2 and 3 are merged ( col 2 to col 2+1 )
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India