Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any ideas on how to structure this
Message
 
 
To
21/06/2001 09:37:14
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00521872
Message ID:
00521878
Views:
12
I too have some forms with complex rules like yours. When I do, I create a new method for just that form and put all my code there. Some might say the code should go in each control's refresh, but labels do not have a refresh, plus it is easier to maintain all the rules for the controls on the form in just one place. Of course, I know rules never change and enhancements are never asked for.

>Hi
>
>I have a form that is rather complex in the way it displays itself.
>
>I have a couple of comboboxes, and then below them I have 2 containers (invisible) that contain other objects. The containers will only be visible when they are required, so they will be made visible dynamically.
>
>The objects inside the containers will also be enabled/disabled depending on meeting certain criteria....
>
>Right.....!!
>
>Providing you understand what I mean (various rules/different scenarios), can anyone advise me on the best way to strucuture this sort of programming.
>
>Should each object have it's own code in the refresh?
>Should the controls be manipulated from just 1 program?
>
>Any ideas, the rules behind them are pretty complex.
>
>Let me know if you need more info.
>Thanks
>Kev
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform