Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AddProperty vs AddProp: Best way to solve this questio
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00622271
Message ID:
00622354
Vues:
26
Mark,

If you know ahead of time what additional properties you want to add you can do something like this:
select *, Additional1, Additional2 ;
   from TheRealSource ;
   into cursor __junk 
scatter memo name oRec
>I need to add properties to dynamically created "named" objects, such as a named record object created by the SCATTER command...
>for example: SCATTER MEMO NAME oRec
>
>Although oRec is an object reference, it does not have an AddProperty method.
>
>Ken Levy released the AddProp FLL, last modified I think in 1996 for VFP5. It does exactly what I need it to do. Seems to work with VFP6. But I don't know its long-term viability as VFP evolves.
>
>Is there an "official" way to add properties to objects that DON'T have an AddProperty method?
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