Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Addind Treeview Node In a VFP DLL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Addind Treeview Node In a VFP DLL
Divers
Thread ID:
00195923
Message ID:
00195923
Vues:
63
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
Répondre
Fil
Voir

Click here to load this message in the networking platform