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


Groups > comp.lang.clipper.visual-objects > #7107 > unrolled thread

bBrowser 4 Recordgroups

Started by"Paul D B" <pdb@NOMORESPAMhnt.be>
First post2014-07-22 16:46 +0200
Last post2014-07-29 10:25 +0200
Articles 8 — 3 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  bBrowser 4 Recordgroups "Paul D B" <pdb@NOMORESPAMhnt.be> - 2014-07-22 16:46 +0200
    Re: bBrowser 4 Recordgroups "Paul D B" <pdb@NOMORESPAMhnt.be> - 2014-07-23 11:01 +0200
      Re: bBrowser 4 Recordgroups Camille Kater <katercam@pt.lu> - 2014-07-23 12:23 +0200
        Re: bBrowser 4 Recordgroups "Paul D B" <pdb@NOMORESPAMhnt.be> - 2014-07-23 15:14 +0200
    Re: bBrowser 4 Recordgroups Sjonnie D <Sjonnied@gmail.com> - 2014-07-23 06:07 -0700
      Re: bBrowser 4 Recordgroups "Paul D B" <pdb@NOMORESPAMhnt.be> - 2014-07-23 15:16 +0200
        Re: bBrowser 4 Recordgroups Sjonnie D <Sjonnied@gmail.com> - 2014-07-23 07:48 -0700
          Re: bBrowser 4 Recordgroups "Paul D B" <pdb@NOMORESPAMhnt.be> - 2014-07-29 10:25 +0200

#7107 — bBrowser 4 Recordgroups

From"Paul D B" <pdb@NOMORESPAMhnt.be>
Date2014-07-22 16:46 +0200
SubjectbBrowser 4 Recordgroups
Message-ID<lqltgb$rgn$1@dont-email.me>
Hi all,

been testing with bBrowser4 record groups and getting very weird results. 
Has anyone been using this on DBF's with say, 5000 records?

Made some very simple test in an existing application. It shows the 
recordgroups OK but weird things happen when I "close" groups by clicking on 
the + sign.
Groups are closed that should not be closed. For example, I have 12 groups 
but when I click on the first + sign (of the first group) they all close!

When groups are closed, and your page down the browser so that they 
disappear of the visible part of the screen, they don't come back when you 
page up again.
etc.

Does this sound familiar to anyone?

Will test tomorrow further with another (simple) application.  Otherwise 
I'll have to contact Joachim, but he's gonna ask me for a sample...

Paul 

[toc] | [next] | [standalone]


#7111

From"Paul D B" <pdb@NOMORESPAMhnt.be>
Date2014-07-23 11:01 +0200
Message-ID<lqntl4$l35$1@dont-email.me>
In reply to#7107
I have made a sample and sent it to Joachim.

Is anyone here using recordgroups?

Paul


"Paul D B"  schreef in bericht news:lqltgb$rgn$1@dont-email.me...

Hi all,

been testing with bBrowser4 record groups and getting very weird results.
Has anyone been using this on DBF's with say, 5000 records?

Made some very simple test in an existing application. It shows the
recordgroups OK but weird things happen when I "close" groups by clicking on
the + sign.
Groups are closed that should not be closed. For example, I have 12 groups
but when I click on the first + sign (of the first group) they all close!

When groups are closed, and your page down the browser so that they
disappear of the visible part of the screen, they don't come back when you
page up again.
etc.

Does this sound familiar to anyone?

Will test tomorrow further with another (simple) application.  Otherwise
I'll have to contact Joachim, but he's gonna ask me for a sample...

Paul 

[toc] | [prev] | [next] | [standalone]


#7112

FromCamille Kater <katercam@pt.lu>
Date2014-07-23 12:23 +0200
Message-ID<1406111874_1@vo.lu>
In reply to#7111
Hi Paul,

I an using recordgroups without problems.
Maybe you should show us your code for creating the groups ?

Camille

On 23/07/2014 11:01, Paul D B wrote:
>
> I have made a sample and sent it to Joachim.
>
> Is anyone here using recordgroups?
>
> Paul
>
>
> "Paul D B"  schreef in bericht news:lqltgb$rgn$1@dont-email.me...
>
> Hi all,
>
> been testing with bBrowser4 record groups and getting very weird results.
> Has anyone been using this on DBF's with say, 5000 records?
>
> Made some very simple test in an existing application. It shows the
> recordgroups OK but weird things happen when I "close" groups by
> clicking on
> the + sign.
> Groups are closed that should not be closed. For example, I have 12 groups
> but when I click on the first + sign (of the first group) they all close!
>
> When groups are closed, and your page down the browser so that they
> disappear of the visible part of the screen, they don't come back when you
> page up again.
> etc.
>
> Does this sound familiar to anyone?
>
> Will test tomorrow further with another (simple) application.  Otherwise
> I'll have to contact Joachim, but he's gonna ask me for a sample...
>
> Paul

[toc] | [prev] | [next] | [standalone]


#7114

From"Paul D B" <pdb@NOMORESPAMhnt.be>
Date2014-07-23 15:14 +0200
Message-ID<lqocet$r0q$1@dont-email.me>
In reply to#7112
Hi Camille, are you using this for big files?  I have no problem with small 
datasets but with 5000 or 10000 recs it just doesn't seem to work.
Very erratic behaviour when scrolling fast, wehn folding groups etc.

The code is a duplicate of Joachims sample code. No sublevels or so, because 
I wanted to get it done, at first, in its simpliest form before diving 
deeper into it.

I also adapted the sample that Joachims delivers with bBrowser 4.2 so that 
it opens my DBF instead of his sample DBF.

Only 4 lines of code to be changed!!

method PostInit() class dtwRecordGroups2
    // Initialize window
    local odbsServer            as bDBServer
    local oRecordGroupLevel    as bRecordGroupLevel
    local cGroupKey            as string
    local ocbGroupHeader        as bCodeblock
    local oFont                    as Font
    local oGrid                    as bGrid
        LOCAL oGroupHeader       AS bRecordGroupHeader

    // Open server
    odbsServer := bDBServer{"ARMAIN", True, False, "DBFCDX"}    //PDB using 
MY file here
    if odbsServer:Used
        // Set index order
        odbsServer:SetOrder("ARMAINX3z")     //PDB using MY indexorder here
        odbsServer:GoTop()

// Initialize Record Groups
         self:oDCBrowser:RecordGroup:LevelList:Clear()

    // Record Group: Initializing Level 1
                    cGroupKey := "Server:ARDIENST"    //PDB using MY 
groupfield here

                    oRecordGroupLevel := 
bRecordGroupLevel{bCodeblock{cGroupKey, odbsServer},;        // 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)} 
// Options for the record group level
                    oRecordGroupLevel:GroupRowHeight := 24

                    ocbGroupHeader := bCodeblock{"'Dienst ' + 
Server:ARDIENST", odbsServer}      //PDB using MY header here

                    oGroupHeader := bRecordGroupHeader{ocbGroupHeader}
                    oRecordGroupLevel:GroupHeader := oGroupHeader

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


                    self:oDCBrowser:RecordGroup:LevelList:Add(oRecordGroupLevel) 
// Add level to the record group list

        // Recalculate the browser so that the record groups are considered
        self:oDCBrowser:Recalculate()

        // Set server in browser
        self:oDCBrowser:Use(odbsServer)
    endif
    return self


Paul


"Camille Kater"  schreef in bericht news:1406111874_1@vo.lu...

Hi Paul,

I an using recordgroups without problems.
Maybe you should show us your code for creating the groups ?

Camille

On 23/07/2014 11:01, Paul D B wrote:
>
> I have made a sample and sent it to Joachim.
>
> Is anyone here using recordgroups?
>
> Paul
>
>
> "Paul D B"  schreef in bericht news:lqltgb$rgn$1@dont-email.me...
>
> Hi all,
>
> been testing with bBrowser4 record groups and getting very weird results.
> Has anyone been using this on DBF's with say, 5000 records?
>
> Made some very simple test in an existing application. It shows the
> recordgroups OK but weird things happen when I "close" groups by
> clicking on
> the + sign.
> Groups are closed that should not be closed. For example, I have 12 groups
> but when I click on the first + sign (of the first group) they all close!
>
> When groups are closed, and your page down the browser so that they
> disappear of the visible part of the screen, they don't come back when you
> page up again.
> etc.
>
> Does this sound familiar to anyone?
>
> Will test tomorrow further with another (simple) application.  Otherwise
> I'll have to contact Joachim, but he's gonna ask me for a sample...
>
> Paul 

[toc] | [prev] | [next] | [standalone]


#7113

FromSjonnie D <Sjonnied@gmail.com>
Date2014-07-23 06:07 -0700
Message-ID<e77f6e5c-5901-47a3-b5dc-2872a226c102@googlegroups.com>
In reply to#7107
> Does this sound familiar to anyone?
Hi Paul,
I am experiencing the same problems here. As soon as you close a group that is not completely visible, the rest of the groups disappear. I hope someone has a clou.

John

[toc] | [prev] | [next] | [standalone]


#7115

From"Paul D B" <pdb@NOMORESPAMhnt.be>
Date2014-07-23 15:16 +0200
Message-ID<lqocii$rre$1@dont-email.me>
In reply to#7113
Joachim will have a clue, I have sent him a sample.
But he might be on holiday (I hope so for him) so it might take a while

Paul

"Sjonnie D"  schreef in bericht 
news:e77f6e5c-5901-47a3-b5dc-2872a226c102@googlegroups.com...

> Does this sound familiar to anyone?
Hi Paul,
I am experiencing the same problems here. As soon as you close a group that 
is not completely visible, the rest of the groups disappear. I hope someone 
has a clou.

John 

[toc] | [prev] | [next] | [standalone]


#7116

FromSjonnie D <Sjonnied@gmail.com>
Date2014-07-23 07:48 -0700
Message-ID<f59c0a05-45e5-4846-a3d5-54b095037878@googlegroups.com>
In reply to#7115
Hi Paul,
When I delete the BRGLO_SERVERSEEK from the options in the grouplevel init, it seems to work normal!

Does this also work for you?


John

[toc] | [prev] | [next] | [standalone]


#7130

From"Paul D B" <pdb@NOMORESPAMhnt.be>
Date2014-07-29 10:25 +0200
Message-ID<lr7lqf$4mp$1@dont-email.me>
In reply to#7116
Hi John,

I had an answer from Joachim Bieler and that was exactly what he suggested.
I have mailed him again because I would like to have some more explanations 
about this option

Paul

"Sjonnie D"  schreef in bericht 
news:f59c0a05-45e5-4846-a3d5-54b095037878@googlegroups.com...

Hi Paul,
When I delete the BRGLO_SERVERSEEK from the options in the grouplevel init, 
it seems to work normal!

Does this also work for you?


John 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web