Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AddObject problem
Message
De
19/06/2002 02:38:13
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00669545
Message ID:
00670027
Vues:
21
>>
Hello Geof.
I do aproximatly similar things. But I make exe/com
My class library has customer class (rem) and classes for forms (for example, top)
All they have status olepublic
User class has method of running form runform
I looks like
Lparameters _fm
set classlib to svr
this.fm=createobject(_fm)
this.fm.par=this
this.fm.show()
I keep form name incide customer class property and this allow me to call forms methods
Though customer object.
I also failed to make this in multithread dll, but it works being placed in exe
So main program to call these objects looks like
Cr=createobject(?engine.rem?) ** engine is project name, rem is customer class
Cr.runform(?top?)
Cr.fm.makesomething(?path?)
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform