Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assign UDF to documentFile property on an oleControl
Message
 
 
À
07/07/1998 17:30:31
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00114635
Message ID:
00115074
Vues:
22
Nancy,

If this is like other VFP objects, the 2nd through Nth instances of the class are going to get that value the very first object of that class got from GetFile(). VFP caches the property settings done on the "property sheet" or inside the define class and all other instances use the cached values, they are not reeavaluated during subsequent object construction.

>DEFINE CLASS oleexcelobject AS olecontrol
>documentFile = GetFile()
>...etc
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform