>
>IF TYPE("oForms.Name") = "C"
> oForms.Register(THIS)
>ENDIF
>
>Then similar ode in the form's destroy event that unloads it.
>
>I really like this a lot better, because of the cleaner parameter passing, and complete backwards compatibility with all code previously written that uses DO FORM. Also, just seems like better encapsulation.
>
>Bob mentioned that a DoForm method is nice when you use vcx based forms, which I guess is true, but I don't use them at all, so this is not an issue for me.
Cool. I have the DoForm method now (I based it on the FFC form manager) and it's limiting at times. I think I'm going to switch over to your way :) Thanks.
Roi
'MCP' Visual FoxPro
In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!