General information
Category:
ActiveX controls in 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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only