Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2 forms open
Message
De
02/10/2005 10:08:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01055297
Message ID:
01055327
Vues:
16
>While Sergey and Hilmar have given you the answer to your question, I'd make a recommendation. Don't let the user open the same form more than once. IMO, you're asking for trouble if you do. I'd loop through the forms collection before trying to instantiate the form to see if it already exists. If it does, I'd activate that form. If not, then I'd run it.

Can you clarify, what sort of problems you would expect? What difference is there between opening two different froms and opening the same form twice? - Assuming proper programming, including private datasessions.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform