>How\where would you store the new form, as the saveas method doesnt work in runtime?
>
>Thanks
>
>Jon
Do you want to create the form too?
If yes, then have a template form as a class, say, myTemplateForm.
In run-time:
loForm = newobject('myTemplateForm', 'myClassLib.vcx')
loForm.NewObject('lblTest','myLabelClass')
with loForm.lblTest
.left = 5
.top = 5
.visible = .t.
endwith
loForm.Show()
from the top of my head (and memory).
You would not have this form saved as an SCX/SCT, but is it what you want?
If it's not broken, fix it until it is.
My Blog