Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating forms from classes
Message
De
12/05/1997 10:27:45
 
 
À
12/05/1997 10:14:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00031771
Message ID:
00031778
Vues:
30
>Dispite reading every reference I have access to including calling MS, I am still confused about how to create a new form from the form class I have already created. When I try dragging the icon (next to TYPE) on the class browser onto my forms section of the proj manager, it acts as if something is dragging over and nothing happens. If I drag it onto the command window, it enters and runs the little statement to createobject, and I have and INSTANCE of the form appear the class browser, but I don't know what to do with it after that. Please help, boss is breathing down neck!
>Thanks
>William Lewis

Go to the menu "Tools->Options". Switch to the page "Forms". In the Template Classes section, make sure Forms checkbox is checked. Click on the "..." button and select your form class from it's VCX file. Then, make sure you click "Set as Default" and then "Ok".

Now when you create a new form by typing MODI FORM in the Command window you will get a new form based off of your form class.

-Doug-
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform