Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>>>>How do i disable a treeview?
>>>
>>>>Is there something wrong with the .Enabled property? Works for me.
>>>
>>>I would expect that it would work for me too. But it doesn't. My treeview is still responding to the mouse click. I searched the whole UT for an awnser and found many members with the same problem. There was nobody who could solve the problem or couldn't even explain the reason.
>>
>>Which version of VFP and the TreeView are you using? VFP6/SP3 and TV6 work OK.
>
>
>VFP6/SP3 and TV6 and IL6. I created a new form just to make sure that i'm using the newest versions. There is only the treeview, the imagelist and a button to disable the treeview. Same result. The treeview is responding to the mouseclick no matter wether it's enabled or not. I also tried all kinds of tricks i found in UT. It's really sad.
Stefan,
I'm experiencing the same behavior w/ VFP6/SP3/NT.
The only change in behavior I see when enabled = .F. is that you
can't tab into it.
Joe
Précédent
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