Differences 264 / 265
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Differences 264 / 265
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.
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 (23.68 KiB) Viewed 15794 times
-
- Menu_express264.png (23.76 KiB) Viewed 15794 times
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: Differences 264 / 265
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) )
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 (39.96 KiB) Viewed 15790 times
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: Differences 264 / 265
I am now home and getting back to work.
I will look into this.
I will look into this.
The eXpress train is coming - and it has more cars.
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: Differences 264 / 265
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?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.
Now I will look into your DCSTATIC problem.
The eXpress train is coming - and it has more cars.
Re: Differences 264 / 265
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.
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 813 times
The eXpress train is coming - and it has more cars.
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: Differences 264 / 265
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.
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 (9.38 KiB) Viewed 15566 times
-
- Express264.png (8.46 KiB) Viewed 15566 times
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: Differences 264 / 265
As I said, I don't like touching this code.
You are welcome to make any changes you want.
You have the source 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.
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: Differences 264 / 265
Sorry, but you must have touch the code, so version 264 and 265 are bringing different results.
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: Differences 264 / 265
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?
Can you please give me a test program?
The eXpress train is coming - and it has more cars.