I am using v319 of the Editor SDK and I couldn't find any answers on the forums.
When I create a reply it is always yellow (default). If I change the color of the reply and hit the "Make current properties default", it changes the color for new comments but the replies are still always yellow. I can reproduce this behavior in the full demo.
I found an instance setting I can set: "Commenting.NewReplyColor", but I can't find a way to get the users current default color of the popup. Using the parent won't work because the user may be replying to someone else's comment which can be a different color.
I would like each user to be able to set their own colors and have that apply to both the new comments and any replies.
Thank you,
Stephen
Reply color not saving
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
Re: Reply color not saving
Hello Stephen,
We will investigate whether this behavior is a bug or made with some intentions and will reply back.
What you can do is to do the color setting manually by catching the add annotations event and then check this property
https://sdkhelp.pdf-xchange.com/vie ... on_ReplyTo
If it's an reply, you can modify the popup data with the color you need, set it to the reply annotation and let the operation continue. This should work for you.
Cheers,
Alex
We will investigate whether this behavior is a bug or made with some intentions and will reply back.
What you can do is to do the color setting manually by catching the add annotations event and then check this property
https://sdkhelp.pdf-xchange.com/vie ... on_ReplyTo
If it's an reply, you can modify the popup data with the color you need, set it to the reply annotation and let the operation continue. This should work for you.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 123
- Joined: Wed Mar 25, 2015 10:59 pm
Re: Reply color not saving
Thank you Alex.
I am already doing this and it works. The problem is I don't know how to get the color I need which is the default comment color for the user. Is there a setting that would give me this?
I am already doing this and it works. The problem is I don't know how to get the color I need which is the default comment color for the user. Is there a setting that would give me this?
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
Re: Reply color not saving
Hello Stephen,
Use the CabNodeExplorer to look into this setting:
Tools.StickyNote.Style
This setting dictionary holds the data of the currently used sticky note style.
Cheers,
Alex
Use the CabNodeExplorer to look into this setting:
Tools.StickyNote.Style
This setting dictionary holds the data of the currently used sticky note style.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 123
- Joined: Wed Mar 25, 2015 10:59 pm
Re: Reply color not saving
Thank you Alex, worked great.
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
Re: Reply color not saving
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ