Results 1 to 3 of 3

Thread: Creating interactive shapes

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2003
    Posts
    28

    Question Creating interactive shapes

    I am creating a simple GUI that lets the user drag a circle to make it bigger. What is the best way to start this ? I am stumped.
    I tried using a click event to resize the Circle but what I really want is a user drag event. My concern is how does the Circle retains its shap when the user drags it to make it bigger ?
    Thanks in advance.
    Regards --
    Vujjeni

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Try the Mousemove or MouseDown events or some combo thereof. Since if they drag it then it will move locations, wont it?

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2003
    Posts
    28
    I forgot to mention that I am drawing the Circles using the graphics method, drawEllipse(); Now, How will the mouse down or mouse move events really effect a Circle drawn in execution time ? If it were a picbox, maybe I would have had a easier time.
    Regards --
    Vujjeni

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