Information générale
Catégorie:
Contrôles ActiveX en VFP
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement