Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Tree view
Message
From
08/11/2001 05:58:48
Ashish Patel
Hindustan Petroleum
Mumbai, India
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Using Tree view
Miscellaneous
Thread ID:
00578933
Message ID:
00578933
Views:
69
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
Map
View

Click here to load this message in the networking platform