Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CheckBox and TextBox enable/disable Code Placement
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00612601
Message ID:
00612659
Views:
18
What you need is a mediator to sit in between the textboxes and the checkboxes so you have only one place to write your code. A very good candidate for this job is the form itself. If you move all of the code from the checkboxes and textboxes that refers to the other and put it in the form's refresh you can accomplish this goal. However you still have the problem that if you add or remove any of these you must change the code in the form's refresh method.

There are ways to remove even that issue but they are beyond what could easily be discussed in a thread messsage.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform