Get Visio 2016 to snap to grid only - visio

I am running into an issue in Visio 2016.
I am trying to get the connecter routing to only snap to my set grid size (to keep everything aligned and neat looking). However, if i have boxes, images, or shapes in the diagram, it always seems to want to snap to the center of the image/box.
I have turned off glue, and have tried turning off all snap options except "Snap to grid", however, even with that setting, it still snaps to the center of the image/box.
How do i force visio to stay to the grid snap, without disabling it entirely?

I had same problem after I switched from Visio 2010 to Visio 2013. The only way I could achieve desired behavior of dynamic connector (not to auto glue to center of shape) is to change "GlueType" cell value to 4 in "Glue Info" Shapesheet section of connector - https://msdn.microsoft.com/en-us/library/office/ff769196.aspx. Connector will still glue to connections points if any.
To enable ShapeSheet menu: File->Options->Customize Ribbon and check Developer tab.

Related

Visio ShapeSheet Arrow Head doesn't match settings

I'm pretty sure this is a bug within Visio but I can't figure out how to re-create it... or avoid it.
I have a tool that reads the direction of an arrow in Visio by looking at the "BeginArrow" and "EndArrow" cells in the ShapeSheet and it has worked great. However, a user was having issues with the software correctly detecting direction and I quickly realized why.
The Issue:
There are arrows with an arrowhead at the beginning or end but whose shapesheet has a value of 0 for each. If I simply edit the shapesheet cell that has a 0 and replace it with a 0, the arrowhead disappears so the arrow and shape sheet are back in sync. Similarly, if I change the arrow head and then change it back to what it was, the shape sheet no longer says 0 for the arrowhead.
Has anyone run into this issue before and figured out the cause?
Things I've tried:
I have tried copying and pasting arrows from other documents, copy-pasting from documents in another instance of Visio, dragging the arrows from other documents/instances of Visio, asked what the user did to create the arrows and it wasn't anything I hadn't tried to so I'm at a loss.
AFAK, this sort of odd things in Visio are usually version upgrade bugs. The "problematic" diagram may have been simply created in some previous version of Visio. So in a previous version of Visio that "broken" diagram may even still work properly. No software on this planet is free of glitches anyways; normally this sort of issues can be easily fixed by saving to VDX/VSDX (i.e. xml) format and then opening it and saving back to binary format.

Eclipse feature: switch blocked sash in debug perspective

When I debug my apps in Eclipse I use 4 areas i.e: Debug-Console-Code-Variables:
I can move for free both vertical axes, but the orizontal is blocked and I con only move it for both areas:
There is some way to unblock the horizontal axe and block the vertical one?
NOTE: I've googled a lot to find this but I can't, I'm sure is because I call this zones, areas or panels but Eclipse documentation name them different...
The separator is called a Sash or PartSash.
The way this perspective is designed the horizontal sash stretches across the full width of the page, so you can't do what you want.

Connecting multiple arrows to one in enterprise architect

I just started working with EA and I am doing my first diagram. I want multiple boxes (documents in diagram) to point to 1 other box but I want it to look nice, that is I want there to be just one head of the arrow and the other arrows to connect to the arrow that's pointing to the box
So my question is - Is it possible to connect a couple of arrows to one (let's say I want the secondary arrows to meet in the middle of the main arrow)
Preview image of what I would like to achieve:
UML and related languages do not allow connectors to connect to other connectors; connectors run between two elements (strictly speaking one or two, since a connector can connect an element to itself).
That said, any modelling tool allows you to move the connectors around in the diagram in order to superimpose them to achieve the visual effect you describe.
In EA, you can add bends to a connector using Ctrl-click. You can also change the line style of a connector by right-clicking it. Finally, in Tools - Options - Links you can select "tree" style as the default for Generalizations.

Setting a forms default screen position to desktop center in Delphi XE5

I have recently upgraded from Delphi7 to Delphi XE5 and one of the differences that first jumped out at me is that by default, the IDE sets a forms default position to be in the top left corner of the screen instead of the center of the desktop like it was in D7 and I have looked all around in the options menu and have yet to find a way to set it so that when a new project is created, all forms default to be positioned in the center of the desktop and was hoping I was overlooked the option to do this or to confirm if it was not possible to set this option to be default.
I know there is the little box at the bottom right hand side of the form designer pane which allows you to move the form around so it is placed anywhere on the screen and of course you can set it to be in the center of the screen using the object inspector, but if I could set it to default to this position by "setting and forgetting" an option in the IDE, than that would be one less thing I need to bother with when starting a new project.
Anyway, any help would be appreciated and thanks in advance for any and all replies.
I figured it out myself in a roundabout way. It does not answer the question to the exact specifications that it was asked in but it works out close enough for my needs. The trick was to set the (now hidden) "Embedded Menu Designer" option to FALSE in the registry which causes the form to float independent of the rest of the IDE like it used to in Delphi 7.
Why this option was hidden from the options panel in Delphi XE3 and above is beyond me, but at least there is a way to get it back to the classic look I was after.
Source: http://theroadtodelphi.wordpress.com/2012/09/04/disabling-the-embedded-designer-in-rad-studio-xe3/
Note: The article talks about XE3, but the same technique applies to other Delphi versions as well. All that needs to be changed is the version number in the registry branch needs to match the version of Delphi that is being using. Everything else remains the same.
Isn't poDesktopCenter (TForm.Position property) enough? You set it in design time and forget about this.
I don't know what will happen if you have 1500x1200 form and the screen resolition is 800x600 - try it youself :)

MS Visio how to create custom shape

I need to create a custom shape like that one on figure
How can I do that?
Thank you.
In Visio 2013 Pro there is a Developer tool tab that allows you to modify existing shapes to create unique ones. You'll find these commands in the Operations drop down list of the Shape Design section on the Developer tab. If the Developer tab isn't in your ribbon bar, you can make it available by going to the Customize Ribbon section of the Visio Options screen.
the "Developer" tool tab exists in Visio 2010 Pro as well. it seems to be turned off out of the box.
go File->Options->Customize Ribbon to turn it on.
it makes a big difference when trying to build custom shapes.