Differences 264 / 265

This forum is for eXpress++ general support.
Message
Author
Wolfgang Ciriack
Posts: 479
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Differences 264 / 265

#1 Post by Wolfgang Ciriack »

Hello Roger,
i tried to update from version 264 to 265, and i see 2 differences, which make a lot of work to change my code.
1. Change to DCGROUP: The caption is now shown with a different background color.
This change i can solve with adding a COLOR GRA_CLR_BLACK, mybackroundcolor - a lot of work... but ok.
2. DCPUSHBUTTONXP have now a different spacing between icon and text.
I do not know what happend there ?

Attached 2 screenshots with 264 and 265.
Attachments
Menu_express265.png
Menu_express265.png (23.68 KiB) Viewed 14539 times
Menu_express264.png
Menu_express264.png (23.76 KiB) Viewed 14539 times
_______________________
Best Regards
Wolfgang

Wolfgang Ciriack
Posts: 479
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: Differences 264 / 265

#2 Post by Wolfgang Ciriack »

I have removed the OFFSET from the CAPTION of the DCPUSHBUTTONXP, now it is the same look with 265.
Seems, that you now place the caption automaticly right to the bitmap, when having bitmap and text on the button.

Next problem is the DCSTATIC TYPE XBPSTATIC_TYPE_RAISEDBOX, it has now the default background color, in 264 it was the color, that i defined as COLOR in the default GetOptions. (dc_getoptdefault(GetOptions) )
Attachments
express265_2.png
express265_2.png (39.96 KiB) Viewed 14535 times
_______________________
Best Regards
Wolfgang

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

Re: Differences 264 / 265

#3 Post by rdonnay »

I am now home and getting back to work.

I will look into this.
The eXpress train is coming - and it has more cars.

Wolfgang Ciriack
Posts: 479
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: Differences 264 / 265

#4 Post by Wolfgang Ciriack »

Any news on this topic ?
_______________________
Best Regards
Wolfgang

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

Re: Differences 264 / 265

#5 Post by rdonnay »

I have removed the OFFSET from the CAPTION of the DCPUSHBUTTONXP, now it is the same look with 265.
Seems, that you now place the caption automaticly right to the bitmap, when having bitmap and text on the button.
I have been responsive to eXpress++ users when they have problems with something like DCPUSHBUTTONXP. I forgot what the reason was that I made the change to OFFSET but I would not do something like this if I thought it would break other users applications. Sorry for that problem. I assume that you are ok now with 265 and DCPUSHBUTTONXP. Am I right about this?

Now I will look into your DCSTATIC problem.
The eXpress train is coming - and it has more cars.

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

Re: Differences 264 / 265

#6 Post by rdonnay »

I had to be really careful here to not break anything else when working with DCSTATIC objects.

Xbase++ has always had problems with colors on XbpStatic() type GROUPBOX and some others.
I believe that this fix will not cause other regression problems but I'm never sure. I just hate touching this code.

Here is a fix for you:

Copy _DCCLASS.PRG to \exp20\source\dclipx folder and run BUILD20.BAT.
Attachments
staticfix.zip
(43.52 KiB) Downloaded 714 times
The eXpress train is coming - and it has more cars.

Wolfgang Ciriack
Posts: 479
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: Differences 264 / 265

#7 Post by Wolfgang Ciriack »

Hello Roger,
i still test version 265, now with your staticfix. I found another hint, which i can not change:

I have a
@1.7,0.29 DCSTATIC TYPE XBPSTATIC_TYPE_RECESSEDBOX SIZE br,5.0 OBJECT oTagBox
and
@1.8,0.5 DCSAY "Auf-/Lfs-Nr.:" SAYSIZE 9.44 PARENT oTagBox
@1.8,10.36 DCSAY {|| str(auf->aufnum,7) } ;
PRESENTATION { { XBP_PP_FGCLR, GRA_CLR_BLACK },{ XBP_PP_BGCLR, GRA_CLR_WHITE } } ;
SAYID "ANR";
PARENT oTagBox ;
SAYSIZE 7.00,0.8
The PRESENTATION is now ignored, i tried it with COLOR GRA_CLR_BLACK, GRA_CLR_WHITE, it does not change.
See the difference in the pictures.
Attachments
Express265.png
Express265.png (9.38 KiB) Viewed 14311 times
Express264.png
Express264.png (8.46 KiB) Viewed 14311 times
_______________________
Best Regards
Wolfgang

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

Re: Differences 264 / 265

#8 Post by rdonnay »

As I said, I don't like touching this code.
You are welcome to make any changes you want.

You have the source code.
The eXpress train is coming - and it has more cars.

Wolfgang Ciriack
Posts: 479
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: Differences 264 / 265

#9 Post by Wolfgang Ciriack »

Sorry, but you must have touch the code, so version 264 and 265 are bringing different results.
_______________________
Best Regards
Wolfgang

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

Re: Differences 264 / 265

#10 Post by rdonnay »

It really helps me if I don't have to create a test program to reproduce your problem.

Can you please give me a test program?
The eXpress train is coming - and it has more cars.

Post Reply