Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Treeview Problem
Message
De
08/02/2008 11:34:25
 
 
À
08/02/2008 09:22:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01290371
Message ID:
01290831
Vues:
11
>If this code is in the Form.Activate() you need to take steps to ensure that is only runs once - otherwise it will attempt to add the nodes to the tree again.
>
>Yes first treview works fine. Every thing shows ok on its place. Second time when FORM get ACTIVATE evnets then error message appears
>
>What is wrong?

As above - you're attempting to load the tree each time Activate() fires. Can you put this code in the Init() instead - or set a flag the first time Activate fires and skip the operation on subsequent events.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform