Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating class definitions on the fly
Message
 
 
To
10/05/2006 23:40:00
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01120742
Message ID:
01120886
Views:
12
>Just to add, you shouldn't need the set procedure part if you'll instantiate your class as
>

Thanks. In our case we use framework's method Add, which doesn't allow to pass library.

The whole idea is for generating menu on the fly using MereMortals framework. As I said, it was a very nice solution to generate all menu classes on the fly. I was thinking, however, that the class definitions will clatter the memory. I added restoring the original set('procedure') after I've done. It would not remove classes from the memory, right?

And, BTW, I set it to FXP just in case. I'm thinking that prg may not work if the user doesn't have VFP installed (I'm not sure and don't want to take a risk).
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