Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limit to number of open forms?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01271984
Message ID:
01272058
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform