Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a class from a form
Message
 
À
05/06/2001 22:13:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00515316
Message ID:
00515727
Vues:
12
I am sorry Randy. I thought you class was a form-class. If your class is a containter then .Show won't work. Sorry for the misunderstanding.

You should be able to make it by using AddObject as Nick already suggested.


>I posted the following message in a thread earlier tonight.
>Hi. The following code crashes when it reaches the .show command. I am using it in the click event of a command button in a grid (w/ no control source):
>
>
> Error on show line: Unknown Member MYOBJECT
>
> Erik Moore asked if MyClass was a form. The answer is that it is a container class, and not a form.
>
> thanks, Randy
Hector Correa
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform