Results 1 to 10 of 10

Thread: how can I get oval shaped command buttons?

  1. #1

    Thread Starter
    Addicted Member senthilkumartd's Avatar
    Join Date
    Feb 2005
    Posts
    206

    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 04:09 AM.

  2. #2
    Fanatic Member Matt_T_hat's Avatar
    Join Date
    Dec 2001
    Location
    '76 Male Body Evil-Errors: 666
    Posts
    774

    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

  3. #3

    Thread Starter
    Addicted Member senthilkumartd's Avatar
    Join Date
    Feb 2005
    Posts
    206

    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

  4. #4
    Addicted Member
    Join Date
    Aug 2004
    Posts
    176

    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

  5. #5
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    Re: how can I get oval shaped command buttons?



    Has someone helped you? Then you can Rate their helpful post.

  6. #6
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    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 Attached Files

  7. #7

  8. #8
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: how can I get oval shaped command buttons?

    woof woof

    The round and ovals look like they could benefit from some anti-aliasing

  9. #9
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    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

  10. #10
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    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 Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width