General XMetaL Discussion
fjeneau9 December 15, 2010 at 7:42 pm
Can Attribute Inspector fields read-only?December 15, 2010 at 7:42 pmParticipants 0Replies 1Last Activity 11 years, 9 months ago
Is there a way to make the fields in the Attribute Inspector read-only? We've implemented the “edit attribute” button and were hoping it would be a quick modification to make the regular ai text fields read-only without having to implement the business-logic validation.Derek Read December 15, 2010 at 11:11 pm
Reply to: Can Attribute Inspector fields read-only?December 15, 2010 at 11:11 pm
As you suspect, there is currently no property for making individual attributes in the AI read only.
So (as you suggest) if you need to restrict the value, you can handle the case where the user manually types in a value (that does not match your business rules) using the event On_Before_Set_Attribute_From_AI.
- You must be logged in to reply to this topic.