General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion Can Attribute Inspector fields read-only?

  • fjeneau9

    Can Attribute Inspector fields read-only?

    Participants 0
    Replies 1
    Last Activity 12 years, 1 month 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

    Reply to: Can Attribute Inspector fields read-only?

    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.

Lost Your Password?