A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Visio
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Controlling the pencil mode programmatically



 
 
Thread Tools Display Modes
  #1  
Old April 17th, 2010, 02:08 AM posted to microsoft.public.visio.general
DC Kelley
external usenet poster
 
Posts: 13
Default 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  
Old April 20th, 2010, 12:13 PM posted to microsoft.public.visio.general
David J Parker [MVP Visio]
external usenet poster
 
Posts: 110
Default 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  
Old April 21st, 2010, 02:13 AM posted to microsoft.public.visio.general
DC Kelley
external usenet poster
 
Posts: 13
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:15 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.