Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView SelectedItem Question
Message
Information générale
Forum:
Visual Basic
Catégorie:
Access
Titre:
TreeView SelectedItem Question
Divers
Thread ID:
00779991
Message ID:
00779991
Vues:
34
I have the following code:
Private Sub oleTreeView_Click()

  DIM sSelectedItem AS String
   
  If oleTreeView.SelectedItem.Index <> 1 Then

    sSelectedItem = oleTreeView.SelectedItem.Text

  End If
  
  HideControl

End Sub
If there are no nodes in the tree I get an error. How do I test if
the SelectedItem property contains a node?

Thanks
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform