Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create Form Automatically
Message
De
17/07/1998 17:39:32
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00117923
Message ID:
00118822
Vues:
21
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform