Isreadonly
This built-in property returns whether the properties of an instance cannot or can be modified. It can be tested but tot modified.
- If MY_INSTANCE.isReadonlyis 1, properties cannot be modified. Any modification attempt will raise an error with error code 143.
- If MY_INSTANCE.isReadonlyis 0, properties can be modified and accessors will be triggered. This is the default value when a class is instantiated.
Syntax
MY_INSTANCE.isReadonlyExample
# MYCUSTOMER is an instance for CUSTOMER class
# The UPDATE_CUSTOMER call would raise a 143 error if isReadonly is not 0
  If MYCUSTOMER.isReadonly=0
    Call UPDATE_CUSTOMER(MYCUSTOMER)
  EndifSee also
Instance, NewInstance, FreeInstance, FreeGroup, Developer Guide Classes