Is there a way to programatically set the readonly attribute of a view? I know you can do it through the view properties in the GUI, but I need to do it in code based on a status change (and I will be setting about 8 different views to readonly when the status changes). I do not want to make a copy of each view and set the copied set to readonly and then programatically change views based on a status change because I have 8 different (and very complex) views with tabs on the top and the left and the user still has to be able to navigate to all of the views in readonly. I don't want the overhead of having all of the extra views and have to manage the readonly vs readwrite in the navigation. I want to simply set all of the views to readonly in code when the status changes and set them all back to readwrite with another status change.
Anyone ever set the readonly programatically? Is it possible?