Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Limit to number of open forms?
Message
De
29/11/2007 10:04:21
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01271984
Message ID:
01272058
Vues:
17
Sounds like reasonable enough suggestion to me.

I have no idea what the limit should be ... 100 was chosen randomly, not with purpose.

>>So, if I were to impose some limit to the number of open forms, what's a reasonable limit to use?
>>
>>And, secondly, how is it imposed? If the limit is, say, 100, do you have any suggestion as to what I should do when the user has 100 open forms and tries to open the 101st?
>>
>>Thanks
>>
>>>>Is there some system imposed limit to the number of open forms?
>>>>
>>>>Or, is there some performance-related limit to the number of open forms?
>>>>
>>>
>>>Just system resources.
>>>
>>>Tamar
>
>100 seems to be an awful lot of forms to me, but whatever the limit I would pop a messagebox or form that tells the user that he has reached the limit, what the limit is, why it exists (to keep whining down), and what to do (close some forms!).
>
>You create an object that counts open forms, and call that object as part of a forms baseclass init. Let the object warn the user and cause the init to fail.
Jim Nelson
Newbury Park, CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform