Quote Originally Posted by hausman View Post
Hi Krool, thanks again for these controls. I want to replace my old button control with yours, but I'm running into a few issues. Please see attached image.

Name:  2025-05-01 11_20_35-CompatWindow.png
Views: 2619
Size:  7.8 KB

In the top example, the VBCCR18 button control does ok, but I much prefer the positioning of the icon and caption on the old control (i.e. less padding to the left of the icon, and padding between the icon and caption).
The middle example has WordWrap = True, with no icon. Again, ok, but a bit more padding left/right would make it wrap better.
The bottom example has both WordWrap = True and an icon. Here, the wordwrap doesn't account for the picture, and ends up pushing the icon off on the left and overflowing the caption on the right.

Please let me know if you believe this (at least the bottom example) is a bug and can be fixed. Thanks! -Dan
the VBCCR button has several "modes". one is the graphical style button which replicates the VB6 native style button. (Style property = Graphical)

Alternativaly, use Style = Normal and set the "PictureAndCaption" property to True. This will be displayed then in a different way.

Third way is to use an ImageList. Then you can refine the location with the ImageListAlignment and ImageListMargin property.