December 15th, 1999, 04:55 PM
I have a form containing some buttons and a picture in the background. I'd like my buttons to be transparent so that you could see the picture through them. Is that possible to do and if so, how ?
|
Click to See Complete Forum and Search --> : Transparent button ? December 15th, 1999, 04:55 PM I have a form containing some buttons and a picture in the background. I'd like my buttons to be transparent so that you could see the picture through them. Is that possible to do and if so, how ? AndyK December 15th, 1999, 09:54 PM There are a lot of ways, one is to use alpha blending but that's hard and requiers .dll, second is easier but not as good....create a label, set it's backstyle to transparent and play around with borderstyle and appearance to make it look better then create 4 lines around the label and on MouseDown property remove lines or make them one color or something else...just to make it look like it's pressed and on MouseUp set lines that are to the left and bottom of label black color and other two to white or light gray....play around with colors too.....that's one and probably the easiest way to make transparent button....it won't look really nice but it's transparent :) codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |