Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access and Assign vs. OOSE
Message
 
À
24/10/1998 19:50:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00149911
Message ID:
00150288
Vues:
46
Hi Jim...

>>I meant dynamically, with VFP6's new AddProperty feature.

I figured that is what you meant. However, AddProperty does not work on a class that has a public interface in a COM Object.


>John,

>I meant dynamically, with VFP6's new AddProperty feature.
>
>Cheers,
>
>Jim N
>
>>Hi Jim...
>>
>>>Couldn't one also code to add a property if a new field was detected six >months later?
>>
>>Sure, but that requires recompilation of the business object. I think what Jim B. is getting at deals with encapsulation. With a method, you can write generic code - perhaps to to serve up an ADO recordset. It would be up to the client application to specficially deal with the new field.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform