When you add an icon to a graphical button it sits untop of the button text.
My question is, is there a way to make the icon sit on the left hand side of the text?
BlueCode...
Printable View
When you add an icon to a graphical button it sits untop of the button text.
My question is, is there a way to make the icon sit on the left hand side of the text?
BlueCode...
You can include the text in the image, and just remove the regular caption so it won't get in the way.
Check out my post in PlanetSourceCode
http://www.planet-source-code.com/vb...56706&lngWId=1
Nice skin creator Luthv, but i get compile errors. i think ill try the text on the graphic way and see how i go.
BlueCode..
Could you be more specific on the compile error? I have no problem compiling it on my machine (I use XP SP 1 and VB SP 6), so perhaps there's something that I missed.
Thanks
Im using XP SP2 and VB 6 SP6
The compile errors i get are:
OwnSkin ( Compile Error: Can't find project or libary )
Standard ( " " " " )
With Icon ( " " " " )
It says missing SkinDeep.vbp as if it is ment to be a .dll or something.
BlueCode..
Woops.
My mistake bro, i didnt read the readme included so i wasnt opening the group file.
Is there an easyer way of just aligning the icon and caption side by side without having to go through the skindeep project.
i would use the image and text together like wizbang said but i would have to change all my icons to another format and i can be bothered going through all that.
BlueCode..
You could always use usercontrol with compound controls, like using image and label control in one usercontrol and then exposing the property you need to change the caption and the image. But this way you have to change the design of your forms.
Here is a quick usercontrol. Just compile it to an ocx and it will be in your componants list. Nothing fancy you can improve on it.
Wayne
On loading your little usercontrol i get the error "could not start internet explorer"
BlueCode..
If you are running it from the IDE then goto File:AddProject to add a new project. In the window that lists the projects, forms, etc. right click on the new project name and select "Set as start up". Then you can test the button on the new form.
Wayne