Page 1 of 1

Mulit-Row Browsing

Posted: Sat Oct 13, 2012 1:08 am
by Wolfgang Ciriack
Hi Roger,
i am testing version 257 and have the problem, that Multi-Row Browsing brings an error (runs ok with 255).
Can you give me a hint, what i have to change ?

Code: Select all

 (B)INIT:_DCINIT(28)
_BLOCK2STRING(1485)
XBPCOLUMN:CREATE(293)
....
These are my column definitions:

Code: Select all

DCBROWSECOL DATA {|| dc_getcolarray(TPOS_GRAFIKID,oBrowseT) }  ;
         HEADER "Art" WIDTH 0.5*w/8 TYPE XBPCOL_TYPE_BITMAP PARENT oBrowseT

DCBROWSECOL DATA {{|x| x:=dc_getcolarray(TPOS_NEXTDAT,oBrowseT), iif(!empty(x), ntocdow(dow(x)),"") }, ;
                  {|x| x:=dc_getcolarray(TPOS_NEXTDAT,oBrowseT), iif(!empty(x), expand(alltrim(str(day(x)))+"."),"") }, ;
                  {|x| x:=dc_getcolarray(TPOS_NEXTDAT,oBrowseT), iif(!empty(x), ntocmonth(month(x))+" "+str(year(x,4)),"") }} ;
         HEADER {'Datum'} ALIGN XBPALIGN_HCENTER+XBPALIGN_VCENTER WIDTH 1.5*w/8 PARENT oBrowseT

DCBROWSECOL DATA {{|| memoline(dc_getcolarray(TPOS_INFOTEXT,oBrowseT),45,1,,.T.) }, ;
                  {|| memoline(dc_getcolarray(TPOS_INFOTEXT,oBrowseT),45,2,,.T.) }, ;
                  {|| memoline(dc_getcolarray(TPOS_INFOTEXT,oBrowseT),45,3,,.T.) }} ;
         HEADER {'Meldung'} WIDTH 3.5*w/8 PARENT oBrowseT

Re: Mulit-Row Browsing

Posted: Mon Oct 15, 2012 6:32 am
by rdonnay
Please try this dclipx.dll.
I believe I fixed this problem in build 258.

My test program in \exp19\samples\browse\multirow.prg runs with no errors.

http://donnay-software.com:8080/donnay/dclipx.dll

Re: Mulit-Row Browsing

Posted: Tue Oct 16, 2012 4:01 am
by Wolfgang Ciriack
Hi Roger,
with this dll it works. Did you published version 258 ?

Re: Mulit-Row Browsing

Posted: Tue Oct 16, 2012 8:50 pm
by rdonnay
My goal was to release and publish it before the Devcon this week, but my Xbase++ 2.0 pre-release expired.
I decided it was best to release it after the devcon and after I have installed the Devcon 2.0 release.

Re: Mulit-Row Browsing

Posted: Tue Oct 16, 2012 10:45 pm
by Wolfgang Ciriack
Ok, thanks.