Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When to close cursors
Message
De
16/05/2001 08:29:45
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00507737
Message ID:
00507747
Vues:
6
>I am trying to clean up come of my class codes. and I am looking for a suggestion, as to when - where someone should be cleanup close cursors in a class - like a base class form.
>
>what I am thinking about is that when a form - classform closes - it should close and clear out any cursors it made.
>
>
>However , and here is the question really, from my menu form, sometimes I create cursors from there, and when I return to the menu, the cursor is still open. I dont think it would be a good idea to close all cursorts when one form closes, (what if Other forms are open) Just a little confused about a good way to hanldle this type of thing.
>
>Thank you
>
>Bob Lee

Close them as soon as you're done with them.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform