Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Communications between controls
Message
From
09/07/2001 18:06:54
John Deupree
Long Term Care Authority
Tulsa, Oklahoma, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Communications between controls
Miscellaneous
Thread ID:
00528400
Message ID:
00528400
Views:
52
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
Map
View

Click here to load this message in the networking platform