-
Hey I have a program, and it has Icons on Buttons.
The Icons are ALWAYS on the very left os the buttons.
And the text is to the right.
ie:
________________________
|ICO Hey look i'm text |
|________________________|
And the icon never moves, but it changes to what a user picks.
Is this a special ocx, if so, do you know where i can get it?
If its not how do i do this with an icon?
BTW: Its not an IMAGE over a COMMAND BUTTON.
The icon is in the button.
Anyone?
-
A couple ways you could do it.
1. Use a picture box, paint the icon into it, then use the print method to print text to the width of the icon.
2. Break it apart into a label and image box. Have clicks on either trigger the same event.
Hope this solves your problem :)