Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Questioning convential wisdom
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00010908
Message ID:
00010925
Views:
28
>Definetly, the hide and not release and reinitiate is the way to go. I like the idea of your "blank formset" if you will which loads forms as needed. Doing this you really need to obey all the encapsulation rules however, because your never quite sure of the environment so everything needed must be kept within the class. While this is good style I will be the first to admit I often violate it.

IMHO encapsulation is one of the most important things and helps alot in having higher percent of reuse and reducing bugs

> Do you have problems referencing objects across forms?

I try not to reference objects across form - this violates encapsulation

> Do you use variables to pass info or do you check to see if a needed form is in existance if not init it and then reference it?

the formset has an array property that holds the open forms and thier status (visible or hidden)
so if a form needs something from another form it send a msg to the formset the formset will initiate the otherform if needed and will send the msg to it (it will also send the answer back)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform