Results 1 to 7 of 7

Thread: Circular Buttons

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2005
    Location
    Toronto, Canada
    Posts
    357

    Circular Buttons

    Hello,
    I was wondering if it is possible to create controls around a circle. I have attached the image. The various colours are supposed to be any type or seperate controls that I can make in the manner, and I want to click on the controls. Therefore, I cannot use shapes. I cannot describe it better in words, therefore I am attaching the image. If you require any more information from me, please let me know.
    Thank you for yoru help in advance,
    Khanjan
    Attached Images Attached Images  
    Hey... If you found this post helpful please rate it.

  2. #2
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: Circular Buttons

    Well, I don't think that you can accomplish this in VB, BUT....!!! Why not use Flash? On the Click_Event en MouseOver_Event in Flash you can create awesome visual events. Remember to give the "args" a good name so you can call the proper procedure.

    I'm not that good with Flash, so can't help you further (sorry). A good search must do the job.


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

  3. #3
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Re: Circular Buttons

    It is possible in VB, but its a very sticky area.

    You'd have to write your own control, and make sure you got all the coordinates correct for the different areas of the control.

    Look into writing your own controls. Also, look up the "Chameleon Button" custom control, it comes with source code, and it simulates different Windows Buttons but drawing them entirely by itself.

    chem

    Visual Studio 6, Visual Studio.NET 2005, MASM

  4. #4
    Lively Member
    Join Date
    Jul 2006
    Posts
    101

    Re: Circular Buttons

    You could split each section up into their own image then add them, but that'd take long. I'd do it for you for $1.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2005
    Location
    Toronto, Canada
    Posts
    357

    Re: Circular Buttons

    Well, I am not that great at flash either... so I am really confused... Um do I have to use ActionScript??
    Hey... If you found this post helpful please rate it.

  6. #6
    Frenzied Member some1uk03's Avatar
    Join Date
    Jun 2006
    Location
    London, UK
    Posts
    1,675

    Re: Circular Buttons

    How bout using .PNG files so you could have any shape..?

    Check on vbaccelerator
    _____________________________________________________________________

    ----If this post has helped you. Please take time to Rate it.
    ----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.



  7. #7
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Circular Buttons

    It is possible in VB. You can check out Wokawidgets "XP Button" project in his Component Suite example as it can draw any shape of button and apply the standard XP theme without having to be run on XP.

    http://www.vbforums.com/showthread.php?p=1942029
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

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