Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private DataSession
Message
De
09/07/2002 06:52:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
08/07/2002 13:26:21
Sony Joseph
Dovenmuehle Mortgage Inc
Schaumburg, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00676186
Message ID:
00676514
Vues:
12
>Yes. But I won't be able to drag that onto any of my forms. I won't be able to say thisform.mynonVisualclass.process(), instead I have to create the object and call the method. It will work, yes.

If you have an object reference to the class, you can then use exactly the syntax you mention, but I don't know whether this will be of any help to you.

I think it would be something like this:
ThisForm.MyNonVisualClass = CreateObject("cNonVisualClass", par1, ...)
ThisForm.MyNonVisualClass.Process()
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform