>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?
Have you tried THISFORM.oleTREE.Object.Enabled = .F.?
- Andy Rice
San Diego, CA