I have a graphical command button that isn't formatting the way I would have expected.
I want the graphic and the text to be on 1 line with the image on the left followed by text.
Printable View
I have a graphical command button that isn't formatting the way I would have expected.
I want the graphic and the text to be on 1 line with the image on the left followed by text.
Sorry, but that's how it works.
For what you need you might need to draw your own "button" perhaps by utilizing picturebox and some graphics.
Check out my code example in the VB6 CodeBank.
With it you can left or right align an image on a standard command button
(not having to use the graphical style). :thumb:
Thanks alot guys.
Its not a glamorous solution but it works ;)
There is also a command button in the Microsoft Forms 2.0 Object Library that has quite a few features for images and text. It's a little quirky though.
Forms 2.0 is not redistributable library so I wish it wasn't recommended.