Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save class as a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01520863
Message ID:
01520867
Vues:
69
>>>Hi everybody,
>>>
>>>I've developed a class recently called HTMLPreview. I now want to make a form that will be the same as a class (well, as a starting point, I will modify).
>>>
>>>Do you know of a simple way to change class into a form?
>>>
>>>Thanks in advance.
>>
>>I am sure it is not what you asked but I think you should use
>>
>>CREATE FORM {yourForm}  as HTMLPreview FROM {yourClassLib}
>>
>
>Yes, why not?

Well, the way you asked the question I had thoughts that what you wanted was to get rid of the class and transform it to a form, and I thought that was wrong and what you really should be doing was creating an instance of the class, which is what the command does.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform