Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining if node object exists
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Determining if node object exists
Divers
Thread ID:
00648402
Message ID:
00648402
Vues:
34
Hi,

I want to verify if a node from a MS TreeView control that WAS in the TreeView IS still there.

Let me explain better: imagine I have a customer table, and the customer are displayed within a TreeView. Let's supose there was a customer named Alonso was listed there, in this case
&& Assuming Alonso is the node key
VARTYPE(form.treeview.nodes("Alonso").key) == "C"
If the example above evaluates to .T., the customer is in the TreeView.

If the the customer is deleted, how can I verify it he is still there?

using the same as the example above is returning an error, "Nodes does not evaluate to an object."

TIA

Alonso
Like Frank said: "I did it... MY WAY!"
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform