|
-
Mar 17th, 2003, 05:54 PM
#1
Thread Starter
New Member
TreeView in own ActiveX controls
Hi!
Since I'm relatively new to VB I hope my question is not too stupid but I found nothing related to my question on the web. So here we go:
I would like to design my own OCX with a TreeView in it. The problem that appears is that in my customized OCX there is no "Node" nor "Nodes" available. Without Nodes the whole tree will remain empty. And this doesn't make the OCX very useful. In my naive thinking I thought all the possibilities of a TreeView would be taken over from my own OCX. That seems to be wrong.
Does anybody know how I can use the object type "Node" and "Nodes" without reimplementing it?
-David
-
Mar 20th, 2003, 10:51 AM
#2
You could expose the Treeview's Node collection as a property of your OCX. To be able to use the Node object the client application would still need to reference the Windows Common Control Component as well.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|