Instable DCBROWSE with express 264

This forum is for eXpress++ general support.
Post Reply
Message
Author
Victorio
Posts: 633
Joined: Sun Jan 18, 2015 11:43 am
Location: Slovakia

Instable DCBROWSE with express 264

#1 Post by Victorio »

Hi,

After installation ver.264 I have some problems with dcbrowse.
If click CTRL or shift key and move mouse scrool, table "blinking" . Also tagging with SHIFT + Left mouse button works different than 260.

Here is what I call DCBROWSE
@pozypa,10 DCBROWSE oBrowsepa ALIAS "CPARCELY" ;
SIZE rozxpa, rozypa PIXEL ;
NOSOFTTRACK ;
SCOPE ;
OPTIMIZE ;
CURSORMODE XBPBRW_CURSOR_ROW ;
ITEMMARKED {||Eval(bVLA),Eval(bSTA),;
DC_GetRefresh(GetList,, ;
DCGETREFRESH_TYPE_EXCLUDE,(GETLIST_BROWSE))} ;
SCROLLBARHEIGHT 12 ;
TAGENABLE ;
TAGELEMENT 35 ;
TAGCOLOR GRA_CLR_RED, GRA_CLR_YELLOW ;
TAGMODE DCGUI_TAGMODE_CLEAR ;
ZEBRA {|lEven1|Jd_BrowseZebraColor3(lEven1,CPARCELY->S)}

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Instable DCBROWSE with express 264

#2 Post by rdonnay »

This is not enough information.

You have 2 code blocks tied to your ITEMMARKED clause.
I don't know what they do.

Can you please give me a complete sample program that I can compile and run?

You also did not explain what is "unstable".
The eXpress train is coming - and it has more cars.

Victorio
Posts: 633
Joined: Sun Jan 18, 2015 11:43 am
Location: Slovakia

Re: Unstable DCBROWSE with express 264

#3 Post by Victorio »

Unstable is not quite appropriate term , better say refreshing browse if shift key pressed and scrolling...

If I push ctrl or shift key, and tag some rows in browser , and scrolling with mouse, this rows or also other rows in table "refreshing". Old version not do it.
Also if I want TAG records from - to, with SHIFT + left mouse and then scrolling down and again SHIFT + left mouse, first record from this select no tagged, but this was also in v.260

ITEMMARKED :
* relácie - zadanie väzieb CPA/VLA
bVLA:={||VLASTNICI->(DC_SetScope(0,CPARCELY->CLV)), ;
VLASTNICI->(DC_SetScope(1,CPARCELY->CLV)), ;
VLASTNICI->(DC_DbGoTop()), ;
oBrowsevl:refreshAll()}

bSTA:={||STAVBY->(DC_SetScope(0,CPARCELY->CPA)), ;
STAVBY->(DC_SetScope(1,CPARCELY->CPA)), ;
STAVBY->(DC_DbGoTop()), ;
oBrowsecs:refreshAll()}


Now I searching info about adsutil.dll, because program after compilation need this. I found info about ver.263 and _DCCXP.PRG update, and want examine it.

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Instable DCBROWSE with express 264

#4 Post by rdonnay »

Now I searching info about adsutil.dll, because program after compilation need this. I found info about ver.263 and _DCCXP.PRG update, and want examine it.
I realized that I included a file in _DCCXP.PRG that was not required.
I have been testing with the Xbase++ Professional Subscription for a long time.
I did a survey of my eXpress++ users at the recent Devcon and every one of them has the Professional Subscription. Apparently, you do not.

Therefore, I commented out anything in the source code that may require ADSUTIL.DLL to try to load. This change is made in build 265.

Remove the following from _DCCXP.PRG and rebuild DCLIPX.DLL by running BUILD20.BAT

#include "adsdbe.ch"
The eXpress train is coming - and it has more cars.

Victorio
Posts: 633
Joined: Sun Jan 18, 2015 11:43 am
Location: Slovakia

Re: Instable DCBROWSE with express 264

#5 Post by Victorio »

Yes, I have Foundation subscription.

"Remove the following from _DCCXP.PRG and rebuild DCLIPX.DLL by running BUILD20.BAT
#include "adsdbe.ch""

I will do it.:

Thank you very much !

Post Reply