Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Form Automatically
Message
From
17/07/1998 17:39:32
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00117923
Message ID:
00118822
Views:
22
Hi, Ned,

>>>loObject = CREATEOBJECT("SubClass")
>>>WITH loObject
>>> .Property1 = "Test"
>>> .Property2 = "Data"
>>> .Property3 = "TestForm"
>>> .SaveAs(.Property3)
>>>ENDWITH
>>

I have no idea why it doesn't work. What I find out is whenever I use a variable as the parameter for SaveAs, it creates temporary file. Regarding the subclass, I get it now. So, what I do now is to create a form programatically, name it "zForm" instead of using a variable, and then add it to the project and rename it. It is a bit tedious but it works.

I really appreciate your help. Thanks a lot.

Have a nice weekend.

Chu
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform