hi guys,
how can i get oval shape and circular command buttons. Have I to use any third party controls for it. If it so please give the internet link or .ocx files or source codes
cheers,
Senthilkumar.T.D
Printable View
hi guys,
how can i get oval shape and circular command buttons. Have I to use any third party controls for it. If it so please give the internet link or .ocx files or source codes
cheers,
Senthilkumar.T.D
You can pull of a trick that is similar with a few graphics of the shape you disire and use the mouse over and click events to get a number of "animations" (swap graphic1 for graphc2).
If that helps?
hi matt,
thanks for your suggestion. if you have any source code for it, please provide it.
cheers,
senthil
Hi Senthil
Have you searched the forums for this? Do a search, you will find many useful threads.
flair
Have a look at this : http://www.vbforums.com/showpost.php...23&postcount=7 and http://www.vbforums.com/showpost.php...27&postcount=5
I am working on a small project to produce XP buttons.
I found a project a few years ago that did this, it alos did MANY other styles of buttons. Very well done too. Icons, shaped buttons (round, oval, rectangle and others). Virtually ALL properties are customisable.
I didn't want all the code that came with this, so I have been stripping out unwanted code for other button style I would never use. I have also started adding a propper naming convention to varibles, and taken out either evil code, or unused code.
I am trying to get it down so that I have well structured code for an XP style button. I am getting there.
Anyways, here's both projects. I have no idea where I got the original project from :( If this is your code, and you're reading this then cheers. Nice job :D
My project is vbXPButton.
Just run Text.vpg
The project I am cutting down and refining is:
XP Buttons.zip
The project you want to run is:
prjSampleButtons.vbp
Just click yes when VB pops a msg box up.
Woka
That is really sweet and slick, Woka - I've seen it before.
You might have downloaded from galahtech but it's also available @planetsourcecode:
http://www.planet-source-code.com/vb...45279&lngWId=1
... and if I am not mistaken it was made by Keith Fox
woof :thumb: woof :thumb:
The round and ovals look like they could benefit from some anti-aliasing
Yea, I think I may have gotten it from there.Quote:
Originally Posted by RhinoBull
Damn he's redesigned the code to be better, and with less flaws.
Right. Better start from scratch again.
Quality controls
Woof
OK, here's my new cut down version of the XP button.
I have also added 2 new properties:
- GotFocusBorderColor
- HoverBorderColor
The original code has the border colors hard coded to red and blue.
You can now change these colors and it creates a shaded border.
Way more work needs to be done on this code as some of his code is a little sloppy.
Woka