Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Tree view
Message
De
08/11/2001 05:58:48
Ashish Patel
Hindustan Petroleum
Mumbai, Inde
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Using Tree view
Divers
Thread ID:
00578933
Message ID:
00578933
Vues:
67
Hi


I am having following code on the button click.

key1 = "DKEY_HEM"
keyref = thisform.oletargettree.nodes(key1)
if keyref.children > 0
loref = keyref.child
do while .t.
if isnull(loref)
exit
endif
mycurrentkey = loref.key
wait wind mycurrentkey
loref = loref.next
enddo

And following code on close button
thisform.release


If I am having only 1 chield node for the key "DKEY_HEM" then it displayes the chield node and when I click on close button form is getting closed.


If I am having 2 or more chield node for the key "DKEY_HEM" then it displayes the chield nodes and when I click on close button form is NOT getting closed.

why this funny behaviour ?

Can Any one help.

I am trying to find out this from last 5 days pl. help to solve this problem. Because of this I am not able to complete my form.


Thanks in advance.


Ashish Patel
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform