>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