I understand that. I'll try to explain a little bit more of what I'm trying to do. A customer opens a web form and fills out an order. Upon submitting the order an email is sent to the department handling the order requests and an email is sent to the customer with a link to the web form. When the web form is opened it knows to populate the form with the information the customer had entered. However, at this point, the customer is not allowed to change anything on the form since it has already been submitted. Therefore, all fields are readonly. If a programmer or person in charge of handling the orders were to open the form with the customer information on it, the form would also be readonly. However, they have the option of selecting to edit the data. At that point all readonly fields would be set to false. But note that some fields on the form may be readonly by design. Therefore, when the edit button is selected the code needs to know which fields' readonly flag should be set to false and which ones are to be left to true. Consequently, I have 2 classes: ClassRO1 would be assigned to all fields that, by design, are readonly. When the user opens the confirmation form, I set the readonly flag for all fields. However, for those fields whose readonly flag was already been set, I assign the class ClassR01. To those that have not yet been set I assign the class ClassR02. Now, when the programmer opens the form or the person in charge opens the form and then hits the edit button, only those readonly fields whose class is set to ClassR02 are set to false. Because the others, by design should remain readonly.
So, if a programmer creates a form using my screen management system and programatically sets a field to readonly then the programmer must also remember to add the class ClassR01 otherwise, my screen management system may clear the readonly flag. Now the programmer could call my method to do it, which would add the class, which is fine. But, I want to make sure the class is added. So, if the programmer sets the readonly flag progammatically, I would like to trap that event so I can add the class.