Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Labels in TreeView
Message
De
08/09/2002 22:13:52
Eugene Kolmakov
Millennium Technologies
Vladivostok, Russie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Labels in TreeView
Divers
Thread ID:
00698113
Message ID:
00698113
Vues:
50
Hi all!

I use TreeView in my form and I want to give users ability to rename nodes either by clicking the node or by pressing appropriate button on my form.
I also use "BeforeLabelEdit" method of the TreeView to ensure that the clicked node is changeble before user can rename it. This works fine when I click the node but when I press my button, "BeforeLabelEdit" method just isn't called. I use the following syntax in my button's Click Event:
MyForm.MyTreeView.StartLabelEdit

I tried to use another syntaxes:
MyForm.MyTreeView.BeforeLabelEdit
MyForm.MyTreeView.StartLabelEdit
or
MyForm.MyTreeView.Click
or
MyForm.MyTreeView.NodeClick(MyForm.MyTreeView.SelectedItem)

but result is the same. It doesn't work.

Maybe who knows what's the trick ?
Eugene
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform