Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dummy Class
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Dummy Class
Miscellaneous
Thread ID:
00423311
Message ID:
00423311
Views:
49
I would like to create a class with NO properties nor methods. Then I would like to add properties on the fly.

I have seen that doing a SCATTER NAME oFields creates objects with only the fields in a table as properties. It does NOT add any default methods nor properties to the class.

I wonder if there is another way to create an object with no properties nor methods.

Why do I want this? Well, I would like to load a node from an XML document to an object and I don't know the properties that I will need (thus the need to add them on the fly) and I want to make sure the properties will not conflic with VFP default properties (e.g. name, baseclass)
Hector Correa
Next
Reply
Map
View

Click here to load this message in the networking platform