Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

treeview control and settings

Status
Not open for further replies.

mm0000

IS-IT--Management
May 19, 2002
295
IN
I have been experimenting on using the treeview control mentioned refered to in one of the earlier posts (treeview2.zip).

However, what I have noticed is that once I load this control all my existing settings (set deleted, set talk, set safety etc.) - appear to have changed. I have a program that specifically sets these values prior to loading my forms. I do not know where it is changing the values since I could not locate any such code changing the settings in the treeview form.

Could anyone let me know how these settings are changing and what needs to be done to ensure that these settings do not change on loading the treeview form.

Thanks in advance
 
mm0000

Try to reset your settings in the init of the treeview itself. Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Mike,

I think I will have to put the settings in init if I cannot find out how the treeview control/form uses differnt settings. However, what I was trying to figure out was how the settings were changing to avoid specifying them again in init.


 
mm0000

Being an Activex (meaning outside of VFP), it may take on a privatedatasession and it may require a reseting of the SETs. Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Maybe add a breakpoint in a watch window that looks something like:

SET("DELETED")
-or-
SET("TALK")

At least you would know when it's happening.
Dave S.
[cheers]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top