DCPUSHBUTTONXPConfig background question
DCPUSHBUTTONXPConfig background question
When making buttons with the with DC_XpbPushButtonXPConfig and you make the corners round the little part that now is not part of the button shows up as a lttle white triangle and I have backgrounds of dark blue. So how do I get that little triangle of the button to be blue or transparent so the blue background shows up.
Jeanne
Jeanne
Re: DCPUSHBUTTONXPConfig background question
If you run the sample program: \exp19\samples\buttonxp\buttonxp.exe, you will see that it has a blue background and lots of rounded buttons with no problems.
I need to understand a bit more about your problem.
Any chance of a sample program again?
I need to understand a bit more about your problem.
Any chance of a sample program again?
The eXpress train is coming - and it has more cars.
Re: DCPUSHBUTTONXPConfig background question
Hum... yep I am doing something wrong again.. I will keep looking and see if I can figure out what I did to do this.
Jeann
Jeann
Re: DCPUSHBUTTONXPConfig background question
I made a small app that recreates what I am doing. Soooooooooo what am I doing that makes my corners not the same as the background?
Thanks
Jeanne
Thanks
Jeanne
- Attachments
-
- TestBut.zip
- (2.42 KiB) Downloaded 953 times
Re: DCPUSHBUTTONXPConfig background question
Jeanne -
When you said you had a blue background I assumed that you were setting a color, not using a bitmap.
BTW - Please send me the blue.bmp so I can compile and run it.
It would help me to figure out a solution.
Roger
When you said you had a blue background I assumed that you were setting a color, not using a bitmap.
BTW - Please send me the blue.bmp so I can compile and run it.
It would help me to figure out a solution.
Roger
The eXpress train is coming - and it has more cars.
Re: DCPUSHBUTTONXPConfig background question
Sorry I forgot the bitmap.. here it is.
Jeanne
Jeanne
- Attachments
-
- blue.zip
- (807 Bytes) Downloaded 951 times
Re: DCPUSHBUTTONXPConfig background question
Jeanne -
If you make the below change, it will work perfectly with no white corners.
I am not sure why transparency is not working correctly with a bitmap as a background.
This will take a little work to figure out.
BTW - The change I gave you a few days ago could cause errors in other DCPUSHBUTTONXP buttons.
I didn't get a chance to test every possibility. One came up yesterday in another application and it is now fixed.
Here's an update:
http://bb.donnay-software.com:8080/support/_dcxbutt.prg
If you make the below change, it will work perfectly with no white corners.
I am not sure why transparency is not working correctly with a bitmap as a background.
This will take a little work to figure out.
Code: Select all
DCGETOPTIONS ;
COLOR GRA_CLR_BLUE ;
;// BITMAP BITMAP_BLUE
I didn't get a chance to test every possibility. One came up yesterday in another application and it is now fixed.
Here's an update:
http://bb.donnay-software.com:8080/support/_dcxbutt.prg
The eXpress train is coming - and it has more cars.
Re: DCPUSHBUTTONXPConfig background question
I seem to be getting an abort still.. attaced is the screen shot..
- Attachments
-
- ABORT.zip
- (12.84 KiB) Downloaded 934 times
Re: DCPUSHBUTTONXPConfig background question
Jeanne -
I discovered this problem today also.
I was working on something else and had not finished my testing, so I gave it to you prematurely.
Here it is again. Sorry
http://bb.donnay-software.com:8080/support/_dcxbutt.prg
Roger
I discovered this problem today also.
I was working on something else and had not finished my testing, so I gave it to you prematurely.
Here it is again. Sorry
http://bb.donnay-software.com:8080/support/_dcxbutt.prg
Roger
The eXpress train is coming - and it has more cars.
Re: DCPUSHBUTTONXPConfig background question
Got it and no more aborts.. Thanks