Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instantiating form class multiple times
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Instantiating form class multiple times
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01635473
Message ID:
01635473
Vues:
71
Hi,

In my VFP 9 application I have a form with many, many controls and many features. Currently a user can only create one instance of this form. When he/she clicks on the menu to open this form, the program checks if the form is already instantiated, and if so, simply restores it.

Bases on some new business needs, I am thinking of allowing the user creating multiple instances of this form. My concern is that multiple forms will consume memory and possibly cause the application to slow down.

1. How can I control/determine how much memory is being used by multiple instances of a form?
2. Should this even be a concern with the computers these days having a lot of memory (2+ GB)?

TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform