Positioning in a circular pattern?

This is a discussion on Positioning in a circular pattern? within the C# Programming forums, part of the General Programming Boards category; I was wondering how you would go about positioning dynamically created objects of the same type within a circular pattern. ...

  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    58

    Positioning in a circular pattern?

    I was wondering how you would go about positioning dynamically created objects of the same type within a circular pattern.

    Basically, what I'm trying to do:
    is make it so that when I click on a label, a set number of other labels appear in a circular pattern around the clickable label.

    I know how:
    to create the labels...and I'm using XML documents to populate the content of the labels. I also have it so that the labels are created dynamically through a basic onclick event generated by Visual Studio 2005.

    My problem:
    is that I am simply dumbfounded as to how I can position the labels in a circle around another element.

    does anyone have any idea how I can achieve this positioning effect? Or what sources I could read from in order to gain a better understanding of how I may accomplish this? Any help is better than none. Thank you in advance for any advice you may give me on this matter.

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,497
    Like North, East, South and West doesn't work?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Circular Positioning in C# form application?
    By arcaine01 in forum C# Programming
    Replies: 4
    Last Post: 05-08-2008, 02:31 PM
  2. singly linked circular list
    By DarkDot in forum C++ Programming
    Replies: 0
    Last Post: 04-24-2007, 08:55 PM
  3. Hmm.. Ai? Finding the pattern in number squences?
    By Zeusbwr in forum C++ Programming
    Replies: 8
    Last Post: 04-02-2005, 05:13 PM
  4. text pattern recognition
    By mtsmox in forum C++ Programming
    Replies: 5
    Last Post: 02-27-2002, 07:38 AM
  5. circular shift
    By n00bcodezor in forum C Programming
    Replies: 2
    Last Post: 11-20-2001, 02:51 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21