samm
09-05-2000, 02:18 PM
I've gotten an activex called AddFlo. It allows the user to create collections of parented "nodes" similiar to a tree. Each node contains a publicly accessible property called .UserData, which can contain a Long Integer.
I'd like to create a custom variable (ala type), and somehow "link" this with a node. For example, if my custom structure variable is:
Type customvariable
a as int
b as double
c as string
end
and my node is:
node.index
then I'd like to reach my data via:
mydata = node.index.UserData.a
Is it possible to "attach" the custom structure/type variable to the .UserData field with a pointer or some such thing?
If not, is it possible to "add" my extra data to the node in another way?
Any help is greatly appreciated!
I'd like to create a custom variable (ala type), and somehow "link" this with a node. For example, if my custom structure variable is:
Type customvariable
a as int
b as double
c as string
end
and my node is:
node.index
then I'd like to reach my data via:
mydata = node.index.UserData.a
Is it possible to "attach" the custom structure/type variable to the .UserData field with a pointer or some such thing?
If not, is it possible to "add" my extra data to the node in another way?
Any help is greatly appreciated!