PDA

View Full Version : [SOLVED:] Transparent Form Buttons



brorick
11-26-2004, 01:54 PM
:hi: Hello Everyone. Does anyone know how to make a command button completely transparent? I have created a button on my form and set the BackStyle to 0-fmBackStyleTransparent and I can still see the square frame of the button on my form. I was hoping to make the button completely transparent and place an oval image I created directly underneath the button. I know you can import an image into the button using Picture, but I still don't get the button effect I am looking for. Any recommendations would be greatly appreciated. Thank you in advance.

Jacob Hilderbrand
11-26-2004, 02:59 PM
Visible = False
But why use a Command Button at all? Just load the image to an image control and put the code on the click event for that control.

brorick
11-26-2004, 03:07 PM
DRJ thank you for your response. I like your recommendation much better than the work around I tried to create. I think I might understand. Do you have a simple example you could provide to me?

brorick
11-26-2004, 03:52 PM
I attempted the coding as you recommended and it successfully worked. DRJ, thank you again for the recommendation.

Jacob Hilderbrand
11-26-2004, 03:57 PM
You're Welcome

Take Care