Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need help registering 3rd party vcx class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00594050
Message ID:
00594063
Vues:
29
No need to apoligize. That is what this forum is for. Welcome aboard.

You do not need to register a VCX. This is a VFP Class Library. Look at CreateObject or NewObject in the VFP Help.

In general, there are two ways to use a class in the classlib:
set classlib to VCX_Name [additive]
oWhatever = createobject('class_name')

OR

oWhatever = newobject('class_name', 'VCX_Name')
Then you can set properties of the object or call methods of the object:
oWhatever.PropertyX = 'X' 
oWhatEver.SomeMethod()

OR

with oWhatever
   .PropertyX = 'X' 
   .SomeMethod()
endwith
>sorry guys but i am real new to vfp and oop programming in general. i want to use some objects that are in a third party vcx in my forms. how do i register the vcx class and then register the objects? have looked at a couple of reference manuals but i guess it is so simple i am overlooking it. then the last question is after i get this to work and create an .exe. does the recipient person need to register the controls on their machine or will the .exe take this into account?
>
>thanks,
>
>nancy
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform