I use Delphi XE, and I would like to make a button that shows only the provided PNG image with a transparent background and without additional fields of any type.
I tried to do this with TButton, but I got an ugly gray background with bsPushButton style. If I use the bsCommandLink style, there is a top edge of 10 pixels, although all of my ImageMargins settings are set to 0.
What would be the easiest way to do this?
EDIT: It should not look like a button. I just need it to look exactly like the image to which it is assigned. Preferably, it should be in a tab stop state and have different states (on, off, hover ...) so that I can assign an appropriate image for each state.
source
share