Page 1 of 1

lock selection of fill / stroke color

Posted: Tue Sep 11, 2018 7:00 am
by MartinCS
Hi Tracker Team,

is there an option to prevent the user selection of fill and stroke color for commenting tools?
2018-09-11_08-52-08.png
I'm already setting the default color programmatically. But the user shouldn't be able to change the selection.

Cheers,
Martin

Re: lock selection of fill / stroke color

Posted: Tue Sep 11, 2018 11:40 am
by Sasha - Tracker Dev Team
Hello Martin,

For starters, you should remove those items from the annotation properties (if you want to forbid your users to change that). Here's how it can be done:
viewtopic.php?f=66&t=28041&p=108883&hil ... st#p108883
Then you will have to obtain the cmd.scolor and cmd.fcolor IUIX_Cmd from the command manager and set their states to disabled or hidden (or both).

Cheers,
Alex