HDK: changing parameter style

   2261   1   1
User Avatar
Member
6 posts
Joined: 1月 2015
Offline
Hi,
I was just wondering how I can change the style of a parameter in a custom SOP.
The only thing I found so far is en- or disabling it in updateParmsFlags() or locking the parameter manually.
What I would like to have is the possibility to set a parameter to read-only (with better readability than disabled) or changing text or border colors from code. Is this possible?
Could anybody please point me in the right direction?
Thanks!
User Avatar
Member
173 posts
Joined: 4月 2014
Offline
I am not sure about built-in “read-only”, but you can specify a parameter change callback (when you create your parm) and force parameter to the old value through that callback..

Are there examples of different parameter styles?
  • Quick Links