Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_COMATTRIB attributes have no effect
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00685958
Message ID:
00686039
Views:
40
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

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Reply
Map
View

Click here to load this message in the networking platform