Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A/A Qs
Message
De
11/01/2000 23:41:58
 
 
À
11/01/2000 23:18:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Re: A/A Qs
Divers
Thread ID:
00316635
Message ID:
00316688
Vues:
22
OK. (Deep breath)....If you use InteractiveChange or ProgrammaticChange, you are placing behavior into the control itself or, if you can abstract well, into the class the control is based on, right? However, the data source (or entity) may have it's own business rules and whatnot that require custom processing. If you can place this entity in it's own object and map the controls to the object peoperties (attributes), then you can use A/A events in the object itself to kick off behavior appropriate to that object while leaving the UI blissfully unaware and unentangled.

>>True, but that's not necessarily good design. You may have an object who's main role in life is to maintain attributes. If you want to wholly encapsulate function within this object, you want to couple it as little as possible to the UI and that is where Assign and Access come to play, but using A/A in the object itself and not in the front-end control, see?
>
>Ahhh, No I don't see :-( If ya' don't mind, run that one by again.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform