Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
Treeview Events don't fire during other events.
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement