Is it possible to have transparent buttons in VB6?? I know its possible when constructing a form in Access but can't seem to find a method of doing it in VB6.. I had a quick search on here and couldn't find anything.. Googling led to loads of results that really didn't tell me anything.. and loads of those experts exchange sites The idea is that I've created an image in Photoshop and want to use that as a background.. I have already made the buttons in the psd file and just need a transparent button to lay over the top.. Thank you for any advice!
In VB6 you can change the "style" property of a command button to 1-Graphical from the default style 0-Standard. you can then load a picture / image as the button background. This will be behind the text on the command button. Is this what you want? Mel
Its an option I've already had a look at.. It still gives the "raised" look of a button by applying a border around it.. I don't think its possible.. which is wierd as m$ have support for it on Access. Thanks for the pointer though.. I may have to use that option..
If you're effectively removing the "button" part of the Button to leave just the text, why not just use a Label?
Works.. Awesome!!!! Cheers for all the help guys.. You have opened my eyes to a whole new perespective of what I can achieve now. God I'm such a n00b...
You could use a "PictureBox" to hold the image - and put text on the graphic in Photoshop. Make the image border 0-none and the "backcolor" same as form backcolor (excuse Microsoft spelling of colour!) Then use the "Click" event to do whatever you would have done in the command button Click event? Mel
Can you put an image onto a label as background? - couldn't see that in properties - perhaps I missed it - haven't used VB6 in years (into VB.NET Mel
^^^^ Another solution.. Awesome.. Both worked perfectly.. This has had me puzzled for days.. now I'm buring through stuff! Cheers!!