Any way to prevent the red selection border when a shape is selected?


Any way to prevent the red selection border when a shape is selected?
Author
Message
Douglas Earl
Douglas Earl
Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)
Group: Forum Members
Posts: 15, Visits: 1
1) When you select a shape, besides the rectangular bounding box, the outlines of the shape and sub-shapes change to red. Is there any way to prevent that from happening? We have a custom composite shape that has a lot of lines in it (kind of like a lined note card) and we don't want those lines highlighted when the shape is selected.

2) In general, is there any way to control how selected shapes are displayed? (e.g. if we wanted to use a different color than red).

Thanks.
Reply
Douglas Earl
Douglas Earl
Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)
Group: Forum Members
Posts: 15, Visits: 1
There seems to be a bug when View.InteractiveAppearance.ChangeSelectedText is false. When we programatically change font characteristics (such as bolding or size via NShape.Style.TextStyle.FontStyle) on a text shape, the text doesn't update. It will only update when you mouse drag select it. It's only a problem when a single text shape is selected. If there are multiple shapes, or a single polygon type shape, it's not a problem. We're using version 12.2.6.12.

The only workaround I've found so far is to do the following after applying the font characteristic (it used to be that a single SmartRefresh() was all that was needed):

DrawingView.InteractiveAppearance.ChangeSelectedText = true;
DrawingView.Selection.View.Refresh();
DrawingView.InteractiveAppearance.ChangeSelectedText = false;
DrawingView.Selection.View.Refresh();

Any better workarounds?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search