Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Addind Treeview Node In a VFP DLL
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Addind Treeview Node In a VFP DLL
Miscellaneous
Thread ID:
00195923
Message ID:
00195923
Views:
62
I have a VFP DLL that loads an ActiveX Treeview control on a
form. I have a property on the DLL called 'oForm' which
contains a reference to the form.

Inside the LoadTree method of the DLL method I have:

This.oForm.oleTreeview.Nodes.Add(,,"Root", "Root Node")

This works fine when I create it as a class using SET
CLASSLIB TO and CREATEOBECT, but when I try it as a
dll using:

odll = createobjec("MyTestDll.DllProcs")
odll.LoadTree()

I get an exception error stating 'Member NODES does
not evaulate to an object'

Any suggestions?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Reply
Map
View

Click here to load this message in the networking platform