Possible bug changing from field from disabled to read only.
Posted: Thu May 10, 2012 11:40 am
We have a screen used both for enquiry and update depending on the user's secruity setting. If the user is read only, the fields on the screen are to be protect so that the user could not type in the fields. Initially, I used I bound the Disable attribute to an indicator. This protected the fields, grayed them, and dimmed the contents of text fields. I learned later that this was not the standard method chosen by the department. The standard is to bind the text fields to an indicator for the Read Only attribute.
I went into Profound UI Designer. I unbound the Disable attribute then bound the Read Only attribute to an indicator with the same name as I originally used for the Disable attribute. This protected the input capable fields from the user, but the protected fields still turned gray; however, the fields were not dimmed.
As a further test, I added a brand new field and set it up identically to the other 18 input capable fields using the same indicator to turn on Read Only. All of the fields were protected when Read Only was on, but only the new field was not gray. It is as if some residue from the Disable is still in the metadata for these other fields. I hate to delete all these fields and start over, but I don't see much choice.
I went into Profound UI Designer. I unbound the Disable attribute then bound the Read Only attribute to an indicator with the same name as I originally used for the Disable attribute. This protected the input capable fields from the user, but the protected fields still turned gray; however, the fields were not dimmed.
As a further test, I added a brand new field and set it up identically to the other 18 input capable fields using the same indicator to turn on Read Only. All of the fields were protected when Read Only was on, but only the new field was not gray. It is as if some residue from the Disable is still in the metadata for these other fields. I hate to delete all these fields and start over, but I don't see much choice.