Results 1 to 14 of 14

Thread: Polygons, pboxes & image controls [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Polygons, pboxes & image controls [RESOLVED]

    I would like to have an irregular polygonal shape sitting on a picturebox, pbox1.
    As only straight lines, ellipses and rectangles are allowed for the Shape control I have to draw the polygon on another pbox2 with transparent background and place it on pbox1.

    Now I'd like to have the option to hide the polygon. I don't mean setting or clearing the pbox2.visible property. Rather I'd like it to be visible if the first pbox has nothing on it but if, for example, I draw something on pbox1, say a straight line going through pbox2, then I'd like to select whether this line should be in front or behind pbox2.

    What's the best approach for this? Is a image control best suited?
    Last edited by krtxmrtz; Aug 13th, 2004 at 09:10 AM.
    Lottery is a tax on people who are bad at maths
    If only mosquitoes sucked fat instead of blood...
    To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)

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