Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Communications between controls
Message
De
09/07/2001 18:06:54
John Deupree
Long Term Care Authority
Tulsa, Oklahoma, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Communications between controls
Divers
Thread ID:
00528400
Message ID:
00528400
Vues:
53
I have created a phone # class that I can drop on a form. It functions like the phone numbers on the Outlook Contacts form w/ dropdown for type of # and textbox for #. It has a requery method that updates the controls in the composite class. I want to be able to update the controls (there are usually more than one on a form - home, work, fax, etc.) automatically from one call. I have experimented with an array property and update method on our form class. The phone objects register themselves with the form and the form method calls the requery method of each object.

What is the best OOP way to do this? I've thought about a separate object to handle this, but saw no advantage from the form method.

TIA

John
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform