08-13-2010 09:55 AM
Our software has user levels where control references inside a cluster are in certain levels. Noobs cant use certain features.
Now I have have picture controls at several locations and I'd like to programatically disable certain values. Can I do this?
Let's say I want the user to be unable to select the third value of a 5 value picture control.
Thanks!!
08-13-2010 10:09 AM - edited 08-13-2010 10:13 AM
@_Faust wrote:
Our software has user levels where control references inside a cluster are in certain levels. Noobs cant use certain features.
Now I have have picture controls at several locations and I'd like to programatically disable certain values. Can I do this?
Let's say I want the user to be unable to select the third value of a 5 value picture control.
Thanks!!
So, if Newvalue = 3 and Oldvalue = 2, then value = 4
if NewValue = 3 and OldValue = 4, then value = 2
08-13-2010 10:38 AM
Yeah that does it... but I was looking for more elegant solution. lets say I have a reference of this control then I'd like to use its reference to control what values are available from another spot -when logging in to the program-
If this is not possible Ill use your solution, but then I need to have different code for other user levels
08-13-2010 10:49 AM
Better?