Controlling selection of invisible rectangle [message #1705334] |
Thu, 13 August 2015 19:56 |
Alex Kravets Messages: 561 Registered: November 2009 |
Senior Member |
|
|
I use ICreateService.createInvisibleRectangle() to house shapes of my diagram and more specifically to put anchors on this rectangle. In doing so these rectangles become part of the diagram and thus can be selected. Is there a way to make them behave like regular rectangles but still be inactive? More specifically they participate in layout, but cannot be selected. If I set PE for this rectangle as inactive, then it does not participate in layout and thus my shapes are not positioned correctly.
Perhaps I am not aware of some implementation that already exists. My end goal is to be able to put anchors where they appear now - relative to the outer shape, but I haven't found a way to do it without using invisible rectangles. If I set anchor's parent the immediate outer shape, then anchor cuts off when it's positioned at the center of the outer shape's border.
[Updated on: Thu, 13 August 2015 20:02] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03750 seconds