Klas,
There's an article on my website showing one way of doing this with an interface object. Go to Q&A, Forms, article qfrm001
>We are considering putting a number of forms in classes and open them with oForm = CreateObject("form_class_test").
>Eveything seems to work fine except one thing: Some of our forms return a value and if we do the above we do not know how to get a hold of this value without saving it to a global varible.
>
>Does anyone know of a better way ??