Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SaveAsClass question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00785930
Message ID:
00786018
Views:
23
>>>Is there a corresponding VFP command or commands for the Save As Class dialog
>>>of the Modify Form?
>>
>>Sort of.
>>MODIFY FORM fred NOWAIT
>>ASELOBJ(laForm, 1) && Get object reference to the form in the designer
>>loForm = laForm(1)
>>loForm.AddObject("Text1", "Textbox")
>>loForm.SaveAsClass("MyVcx.vcx", "MyForm", "My saved form")
>>MODIFY CLASS myform OF myvcx.vcx
>
>Exactly as the doctor ordered :-) Thanks a lot!

My pleasure. ASELOBJ is an incredibly useful function...
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Reply
Map
View

Click here to load this message in the networking platform