Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading class properties without instantiating a class
Message
 
 
To
29/09/2006 13:10:26
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01158181
Message ID:
01158234
Views:
30
>>Hi everybody,
>>
>>We may want to be able to read some class properties (set in design time) without instantiating the class. There is one class library with lots of classes. I assume, the only way to get the properties is to read through vcx? What if the class is defined in the program?
>>
>>What do you think?
>>
>>Thanks in advance.
>
>with VCX.properties : ALINES() + some line of code
>
>with PRG : APROCINFO(...,1) + some line of code
>
>Why you cannot load the class ?

The class has some code referencing thisform in its based class (the class is a container class) and we want to run the process without user interaction in a batch mode. My other idea is to instantiate the form (make it invisible) and assign all the values using code.

Anyway, that is not my project, but my colleague's and I'm just trying some ideas in his behalf...
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform