TreeView-based custom control

alexb

New member
Joined
Mar 9, 2013
Messages
2
Programming Experience
Beginner
Hi
I'm trying to create a C# custom control based on TreeView, to be used in other programs.
The control should read the disc folder structure and display it.
The control builds OK, finds the data and builds the tree items.
Trouble is, in the host program, nothing is visible.
Any help will be appreciated.
alex
 

jmcilhinney

C# Forum Moderator
Staff member
Joined
Apr 23, 2011
Messages
3,134
Location
Sydney, Australia
Programming Experience
10+
Then something is probably wrong in the host program. As we know nothing about it, we can't really say more than that. If you were to provide a full and clear description of the whole problem then we might be able to say more.
 

alexb

New member
Joined
Mar 9, 2013
Messages
2
Programming Experience
Beginner
Yes, sorry.
I couldn't make it work and out of frustration I started thinking maybe there was something basically wrong, like you can't use a treeview in a control.
Anyway, I got it. It was a stupid mistake - aren't they almost always?
Thanks
alex
 
Top Bottom