General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › Can Attribute Inspector fields read-only?
-
fjeneau9 December 15, 2010 at 7:42 pm
Can Attribute Inspector fields read-only?
December 15, 2010 at 7:42 pmParticipants 0Replies 1Last Activity 12 years, 1 month agoVersion#: 6.0.0.122
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 pmAs 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.
-
AuthorPosts
- You must be logged in to reply to this topic.