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  

controling line segments (i.e. so as not to bend)



 
 
Thread Tools Display Modes
  #1  
Old March 30th, 2010, 09:58 PM posted to microsoft.public.visio.general
DC Kelley
external usenet poster
 
Posts: 13
Default controling line segments (i.e. so as not to bend)

A re-post from the developer.vba forum:

I am implementing a VBA solution where the user needs to edit the end points
of a polygon consisting of a few line segments. None of these line segment
should ever be curved (i.e just LineTo segments, never any EllipticalArcTo
segments). Is these any programmatic way to prevent the user from creating
a curve as they edit the lines? What I want to limit all these lines to
being simple straight segments.

I would perfer not to have to modify each line segment type after the user
edits things, rather I would prefer that they can never grab the control and
ever "bend" the line to start with. Do any of the 'protection' or 'Missc'
atriubutes solve this?

Regards, DC Kelley


 




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 02:59 PM.


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