Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating Object skips Thisform.Release()
Message
De
11/06/2003 01:34:09
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00798705
Message ID:
00798759
Vues:
37
>Bill,
>
>Where/what is SetObjRef.prg?
>
>>How is this different than the oHost property/object in SetObjRef.prg? It's storing a reference to the form on the object inside the form. But there isn't any special handling of the object at the form level.

It's used by all the classes in _base.vcx.
Home() + '\FFC\SetObjRef.prg'
All the _base.vcx classes have a SetObjRef() method that "DO (this.cSetObjRefProgram) WITH (this),(tcName),(tvClass),(tvClassLibrary)"

SetObjRef.prg
LPARAMETERS toObject,tcName,tvClass,tvClassLibrary
&& oHost is a reference to the form
IF PEMSTATUS(oObject,"oHost",5)
oObject.oHost=toObject.oHost
ELSE
oObject.ADDPROPERTY("oHost",toObject.oHost)
ENDIF
Bill Morris
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform