Hi Bob,
>I think what your missing is that all the strong typing and comattribs are ONLY info to put in the type library, the are NOT enforced. So, just as doing...
>Local MyString AS String
>Doesn't stop you from doing this:
>MyString = 123
>Neither does setting up a read_only attribute. You will have to use Access/Assign methods to set this up.
thanks for your reply. I thought of that already, but then I had a look at the "What's new in VFP7" book, where I learned that setting a property to readonly means that the COM interface assign method for the property will not be implemented. If that is right, the setting should prevent the user from setting the property to another value ...
Armin