Version difference 264

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
TWolfe
Posts: 60
Joined: Thu Jan 28, 2010 7:34 am

Version difference 264

#1 Post by TWolfe »

A couple of minor problems that have cropped up since I started testing version 264.

In version 254 the following was ok:

Code: Select all

@ 12,40 DCSAY {||"Current 'Other' Balance = $"+nTrim(nTotOther)+space(10)}
In version 264 it produces an error at compile time and the following is required:

Code: Select all

@ 12,40 DCSAY {||"Current "+chr(39)+"Other"+chr(39)+" Balance = $"+nTrim(nTotOther)+space(10)}
AND -

Code: Select all

@  2,24 DCSAY IIF(aCurCal[1,ccalStatus]='Y',"Exact Only","")
Must be changed to

Code: Select all

@  2,24 DCSAY IIF(aCurCal[1,ccalStatus]="Y","Exact Only","")

Also vertical alignment of text on DC_XbpPushButtonXP now seems to include the shadow so the text is not centered on the button if a shadow is defined. (This is very noticeable on thin buttons with a shadow of 5 or 6)

Terry

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

Re: Version difference 264

#2 Post by rdonnay »

In version 264 it produces an error at compile time
I don't get any compile time or run time error in either 264 or 265.
Something else is going on.

Can you give me your test program?
Also, please give me your DCDIALOG.CH file.
The eXpress train is coming - and it has more cars.

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

Re: Version difference 264

#3 Post by rdonnay »

Also vertical alignment of text on DC_XbpPushButtonXP now seems to include the shadow so the text is not centered on the button if a shadow is defined. (This is very noticeable on thin buttons with a shadow of 5 or 6)
Add the pushbutton to your test program too so I can see exactly what you are seeing.
The eXpress train is coming - and it has more cars.

User avatar
TWolfe
Posts: 60
Joined: Thu Jan 28, 2010 7:34 am

Re: Version difference 264

#4 Post by TWolfe »

The attached file does not compile under version 264. If you change Terry's to Terrys it will compile.

It compiles either way under version 254.

I included a button with shadow to demonstrate the differences with vertical centering.

Terry
Attachments
test264.zip
Version difference test
(1.14 KiB) Downloaded 654 times

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

Re: Version difference 264

#5 Post by rdonnay »

I have attached a new DCDIALOG.CH and _DCXBUTT.PRG.

The problem with DCDIALOG.CH was due to the new design features I added to eXpress++ that required more information about objects to be stored in the GetList for use by the designer.

Code: Select all

     ;DC_GetListSet(DCGUI_GETLIST,aGETLIST_VARS,                            ;
                     {'DCSAYGET',<(oObject)>,<(oParent)>,<cText>,           ;
                       #<nRow>,#<nCol>,#<nWidth>,#<nHeight>} )
I removed the stringify which changed <(cText)> to <cText>. That solves the compile problem.

I fixed the offset problem in _DCXBUTT to properly center the caption now.
You will need to copy _DCXBUTT.PRG to your \exp20\source\dclipx folder and run BUILD20.BAT or BUILD19_SL1.BAT to rebuild DCLIPX.DLL. I'll be releasing a build 266 soon to fix this regression.
Attachments
Terry.zip
(72.62 KiB) Downloaded 661 times
The eXpress train is coming - and it has more cars.

Post Reply