Use NewObject method with the class name and the classlib. Or set the classlib to your library and use AddObject with your classname.
>Instead of regular commandbutton, how would chg it to a cmdbutton I created in a vcx
>something like .class="mycmdbtn" ??
If it's not broken, fix it until it is.
My Blog