Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Treeview Events don't fire during other events.
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Treeview Events don't fire during other events.
Divers
Thread ID:
00829632
Message ID:
00829632
Vues:
51
In the NodeClick event of a treeview, I display the details of the node in the right side of the form.

If the user fires two (or more) node click's in a row (particularly when using the keyboard arrow keys to move around in the tree) the events that fire while the first one (displaying details) is happening, never trigger VFP code to fire.

This results in the right side showing the details for the first item to be clicked on, while the tree has selected in it some other item.

I've tried setting _VFP.AutoYield = .F. and THISFORM.oleTREE.Enabled = .F. while updating the details, but neither stops more events from happening to the tree.

Any Ideas?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform