Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #10087

Re: bBrowser - RecordGroups

From "Paul D B" <pdb@NOMORESPAMhnt.be>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: bBrowser - RecordGroups
Date 2016-12-22 16:41 +0100
Organization A noiseless patient Spider
Message-ID <o3gs48$e15$1@dont-email.me> (permalink)
References <fa980d74-9bc5-4fef-aa45-5a0af6fd5ad5@googlegroups.com>

Show all headers | View raw


Hi,

You need to callopse the groups; e.g.:
        self:oDCBrowser:RecordGroup:CollapseItems(_Or(BRGCIO_COLLAPSEALL, 
BRGCIO_CLEARAUTOOPENINLEVEL))



Paul
schreef in bericht 
news:fa980d74-9bc5-4fef-aa45-5a0af6fd5ad5@googlegroups.com...

Hi

Example program details:
// Record Groups: Initialize Level 1
cGroupKey := "Alltrim(Server:TRAIN_NAME)" //Ez után nem teheto semmi, mert 
akkor a csoportosítás nem muködik.
oRecordGroupLevel := bRecordGroupLevel{bCodeblock{cGroupKey, oServer},; // 
Expression for determining group values
,; // Expression for determining group sub values
nil,; // Group sub value for the main record of a record group
_or(BRGLO_AUTOOPEN, BRGLO_GROUPLEASH, BRGLO_SERVERSEEK, 
BRGLO_LEVELSEPARATOR)} // Options for the record group level
oRecordGroupLevel:GroupRowHeight := 24

ocbGroupHeader := bCodeblock{"'Train: ' +Alltrim(Server:TRAIN_NAME)", 
oServer}
oRecordGroupLevel:GroupHeader := bRecordGroupHeader{ocbGroupHeader}

oGrid := bGrid{BGRID_OUTLINEHORIZONTAL, , , , , Color{COLORBLACK}}
oFont := self:oDCSub_Browse:GetDefaultFont()
oFont:Bold := true
oRecordGroupLevel:GroupView := bViewStyle{ , , BALIGN_LEFT + BALIGN_BOTTOM, 
oFont, oGrid} // Attributes for the graphical representation of the group 
values

self:oDCSub_Browse:RecordGroup:LevelList:Add(oRecordGroupLevel) // Add level 
to the record group list
// Recalculate the browser so that the record groups are considered
self:oDCSub_Browse:Recalculate()

What it looks like:
https://drive.google.com/file/d/0B6fClxsodC7KY0d4T0lNNHNFSGs/view?usp=sharing

So it would be correct:
https://drive.google.com/open?id=0B6fClxsodC7KWHVZWUw0M0ZnZ0E

I ask for your help!

Szepligeti 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

bBrowser - RecordGroups szepligeti@gmail.com - 2016-12-13 23:08 -0800
  Re: bBrowser - RecordGroups "Gerhard Bunzel" <g.bunzel@domonet.de> - 2016-12-14 14:33 +0100
    Re: bBrowser - RecordGroups szepligeti@gmail.com - 2016-12-14 05:50 -0800
  Re: bBrowser - RecordGroups "Paul D B" <pdb@NOMORESPAMhnt.be> - 2016-12-22 16:41 +0100
    Re: bBrowser - RecordGroups szepligeti@gmail.com - 2016-12-27 07:52 -0800

csiph-web