General information
Category:
Object Oriented Programming
Title:
Communications between controls
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only