To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
VBForums  

VB Wire News
Part 10 of the Visual Basic .NET 2010 Express Tutorial Complete!
How to Use the Visual Studio Code Analysis Tool FxCop
Article :: Interview with Andrei Alexandrescu (Part 3 of 3)
Introducing Visual Studio LightSwitch
Visual Studio LightSwitch Beta 1 is Available



Go Back   VBForums > Visual Basic > Visual Basic 6 and Earlier

Reply Post New Thread
 
Thread Tools Display Modes
Old Feb 24th, 2005, 12:49 AM   #1
senthilkumartd
Addicted Member
 
senthilkumartd's Avatar
 
Join Date: Feb 05
Posts: 206
senthilkumartd is an unknown quantity at this point (<10)
how can I get oval shaped command buttons?

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

Last edited by senthilkumartd; Feb 24th, 2005 at 03:09 AM.
senthilkumartd is offline   Reply With Quote
Old Feb 24th, 2005, 09:08 AM   #2
Matt_T_hat
Fanatic Member
 
Matt_T_hat's Avatar
 
Join Date: Dec 01
Location: '76 Male Body Evil-Errors: 666
Posts: 774
Matt_T_hat is on a distinguished road (20+)
Lightbulb Re: how can I get oval shaped command buttons?

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?
__________________
?
'What's this bit for anyway?
For Jono
Matt_T_hat is offline   Reply With Quote
Old Feb 24th, 2005, 10:27 PM   #3
senthilkumartd
Addicted Member
 
senthilkumartd's Avatar
 
Join Date: Feb 05
Posts: 206
senthilkumartd is an unknown quantity at this point (<10)
Re: how can I get oval shaped command buttons?

hi matt,
thanks for your suggestion. if you have any source code for it, please provide it.

cheers,
senthil
senthilkumartd is offline   Reply With Quote
Old Feb 24th, 2005, 10:31 PM   #4
flair
Addicted Member
 
Join Date: Aug 04
Posts: 176
flair is on a distinguished road (10+)
Re: how can I get oval shaped command buttons?

Hi Senthil
Have you searched the forums for this? Do a search, you will find many useful threads.
flair
flair is offline   Reply With Quote
Old Feb 25th, 2005, 07:01 PM   #5
manavo11
Super Moderator
 
manavo11's Avatar
 
Join Date: Nov 02
Location: Other side of town from si_the_geek
Posts: 7,156
manavo11 is a jewel in the rough (300+)manavo11 is a jewel in the rough (300+)manavo11 is a jewel in the rough (300+)manavo11 is a jewel in the rough (300+)
Re: how can I get oval shaped command buttons?

__________________


Has someone helped you? Then you can Rate their helpful post.
manavo11 is offline   Reply With Quote
Old Feb 25th, 2005, 07:15 PM   #6
Wokawidget
Super Moderator
 
Wokawidget's Avatar
 
Join Date: Nov 01
Location: Headingly Occupation: Classified
Posts: 9,589
Wokawidget is a jewel in the rough (300+)Wokawidget is a jewel in the rough (300+)Wokawidget is a jewel in the rough (300+)Wokawidget is a jewel in the rough (300+)
Re: how can I get oval shaped command buttons?

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

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
Attached Files
File Type: zip vbXPButton.zip (21.9 KB, 91 views)
File Type: zip XP Buttons.zip (261.4 KB, 94 views)
__________________
My .NET Tutorials:
Silverlight Enabled WebPart in WSS

My VB.NET Code Examples:
Create IIS Virtual DirectoryValidate Login Against Active DirectoryAutomatically retrieve Identity field value from inserted DataRow using SQL Server and ADO.NET

My ASP.NET Code Examples:
Login To Website (Forms Authentication)Login To Website (Custom Authentication)

My VB6 Code Projects:
Multithreading In VB6Custom TooltipsMulti Language SupportItem Selector ControlAnnimated Systray IconSimple Effective Graph ControlDownload From WebLiveUpdate, download application updates from the web automaticallySystray Notification MessagesSkin A FormAPI TimerBadger Messenger, an MSN clone that uses the MSN NetworkWokawidgets VB6 Component Suite
Wokawidget is offline   Reply With Quote
Old Feb 25th, 2005, 08:17 PM   #7
RhinoBull
PowerPoster
 
RhinoBull's Avatar
 
Join Date: Mar 04
Location: New Amsterdam
Posts: 21,118
RhinoBull is a name known to all (1000+)RhinoBull is a name known to all (1000+)RhinoBull is a name known to all (1000+)RhinoBull is a name known to all (1000+)RhinoBull is a name known to all (1000+)RhinoBull is a name known to all (1000+)RhinoBull is a name known to all (1000+)RhinoBull is a name known to all (1000+)RhinoBull is a name known to all (1000+)RhinoBull is a name known to all (1000+)
Re: how can I get oval shaped command buttons?

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
RhinoBull is offline   Reply With Quote
Old Feb 25th, 2005, 08:21 PM   #8
moeur
Old Member
 
moeur's Avatar
 
Join Date: Nov 04
Location: In Hiding.... Weather: sizzzzlin'........ Code: Secret
Posts: 2,701
moeur is a glorious beacon of light (400+)moeur is a glorious beacon of light (400+)moeur is a glorious beacon of light (400+)moeur is a glorious beacon of light (400+)moeur is a glorious beacon of light (400+)
Re: how can I get oval shaped command buttons?

woof woof

The round and ovals look like they could benefit from some anti-aliasing
moeur is offline   Reply With Quote
Old Feb 25th, 2005, 08:39 PM   #9
Wokawidget
Super Moderator
 
Wokawidget's Avatar
 
Join Date: Nov 01
Location: Headingly Occupation: Classified
Posts: 9,589
Wokawidget is a jewel in the rough (300+)Wokawidget is a jewel in the rough (300+)Wokawidget is a jewel in the rough (300+)Wokawidget is a jewel in the rough (300+)
Re: how can I get oval shaped command buttons?

Quote:
Originally Posted by RhinoBull
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
Yea, I think I may have gotten it from there.
Damn he's redesigned the code to be better, and with less flaws.
Right. Better start from scratch again.

Quality controls

Woof
__________________
My .NET Tutorials:
Silverlight Enabled WebPart in WSS

My VB.NET Code Examples:
Create IIS Virtual DirectoryValidate Login Against Active DirectoryAutomatically retrieve Identity field value from inserted DataRow using SQL Server and ADO.NET

My ASP.NET Code Examples:
Login To Website (Forms Authentication)Login To Website (Custom Authentication)

My VB6 Code Projects:
Multithreading In VB6Custom TooltipsMulti Language SupportItem Selector ControlAnnimated Systray IconSimple Effective Graph ControlDownload From WebLiveUpdate, download application updates from the web automaticallySystray Notification MessagesSkin A FormAPI TimerBadger Messenger, an MSN clone that uses the MSN NetworkWokawidgets VB6 Component Suite
Wokawidget is offline   Reply With Quote
Old Feb 28th, 2005, 11:03 AM   #10
Wokawidget
Super Moderator
 
Wokawidget's Avatar
 
Join Date: Nov 01
Location: Headingly Occupation: Classified
Posts: 9,589
Wokawidget is a jewel in the rough (300+)Wokawidget is a jewel in the rough (300+)Wokawidget is a jewel in the rough (300+)Wokawidget is a jewel in the rough (300+)
Re: how can I get oval shaped command buttons?

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
Attached Files
File Type: zip vbXPButton2.zip (26.6 KB, 60 views)
__________________
My .NET Tutorials:
Silverlight Enabled WebPart in WSS

My VB.NET Code Examples:
Create IIS Virtual DirectoryValidate Login Against Active DirectoryAutomatically retrieve Identity field value from inserted DataRow using SQL Server and ADO.NET

My ASP.NET Code Examples:
Login To Website (Forms Authentication)Login To Website (Custom Authentication)

My VB6 Code Projects:
Multithreading In VB6Custom TooltipsMulti Language SupportItem Selector ControlAnnimated Systray IconSimple Effective Graph ControlDownload From WebLiveUpdate, download application updates from the web automaticallySystray Notification MessagesSkin A FormAPI TimerBadger Messenger, an MSN clone that uses the MSN NetworkWokawidgets VB6 Component Suite
Wokawidget is offline   Reply With Quote
Reply

Go Back   VBForums > Visual Basic > Visual Basic 6 and Earlier


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:36 AM.





Acceptable Use Policy

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.