Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Treeview.SelectedItem
Message
De
11/03/2004 12:01:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Treeview.SelectedItem
Divers
Thread ID:
00885264
Message ID:
00885264
Vues:
62
Hi All,

How can I determine if a node IS selected in a treeview control?

IF THIS.NODES.COUNT > 0
IF EMPTY(THIS.SELECTEDITEM.INDEX)
THIS.SELECTEDITEM = THIS.NODES(1)
ENDIF
ENDIF

The above sometimes crashes on the 2nd line. To me this indicates that nothing has been selected. How can I know this?

TIA
Mike

VFP 6 SP 5
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform