Bring Forward, Send Back one position

There are BringToFront & SendToBack functions that move the selected blocks all the way to the front or back of the Zorder but there is no (obvious) way to move a selected block just one position forward or back in the Zorder.
Do you have a suggestion how I can do this in code (or could this be added to the component)?

You can use MoveControlIndex to change the Z-order of a diagram object to an arbitrary position:

atDiagram1.MoveControlIndex(SomeBlock, 3);

Thanks!

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.