Information générale
Catégorie:
Programmation Orientée Object
> Yes, it is proper OO behavior. The tables are essentially encapsulated to the form object, when the form releases the tables should release also.
Yes but I thought since they are encapsulated to the second form object, they would be protected and not released by a different object (first form.)
> If you want other behavior look at other methods. 1) don't AutoClose them or 2) open them at a level higher than form1, 3) don't really release Form1 just Hide() it, 4) possibly rethink the 3 forms.
These are all good suggestions. If I do a hide instead of a release, would there be an advantage to using a "Form Set" with three forms instead of three separate forms? Thanks.
Mon
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement