If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Controlling the pencil mode programmatically
Programmatically, after I drop a new shape on the page, how can I then move
into the "editing mode" tool to use the pencil (to allow moving the control points on a polygon). And once this is done (and the user has moved all the points to be where they should) how can I detect that every point has been edited/moved so that I can then automatically lock the polygon shape into place and prevent further movement (I understand the lock, just not how to detect the event)? My general need is to allow the user to refine the corner points to match an underlaying image before (in the next step) I do some math on the final position. |
#2
|
|||
|
|||
Controlling the pencil mode programmatically
Hmm, not as easy as I thought, so I wrote a blog article for you:
http://bvisual.spaces.live.com/blog/...3A9!2193.entry "DC Kelley" wrote in message ... Programmatically, after I drop a new shape on the page, how can I then move into the "editing mode" tool to use the pencil (to allow moving the control points on a polygon). And once this is done (and the user has moved all the points to be where they should) how can I detect that every point has been edited/moved so that I can then automatically lock the polygon shape into place and prevent further movement (I understand the lock, just not how to detect the event)? My general need is to allow the user to refine the corner points to match an underlaying image before (in the next step) I do some math on the final position. |
#3
|
|||
|
|||
Controlling the pencil mode programmatically
Wow! What an answer. It may challenge my growing Visio skills to lump all
this into my work, but is seems like a workable solution and educational to me as well. Having played with the control points, I find myself constantly re-zooming in on each point to get it just right. The "1st" time I move the last point it not often to the correct end point, hence I may need to make the decision to lock the shape and drop this pencil mode with a floating button of some sort (i know it's modal but that is the best I can think of). Other then that refinement, off I go. |
Thread Tools | |
Display Modes | |
|
|