Help with ControlsEx

jrb5564

New Member
Licensed User
First let me say I'm new to the the product and this forum, so if I make a mistake or ask a dumb question, please be gentle.

I just upgraded to version 5.5 and then followed the Web instructions for downloading and installing the ControlsEx library. I opened a new project, created a blank new form and saved it. I copied the sample code from the TreeView help, replacing the default code you get with a new project.

Running the program, I receive:

Error compiling program,
Error description: tv is not a nown control or object.
Occurred on line: 10
tv.New1("Form1", 5, 10, 200, 200)

I'm sure I'm missing something simple here. Thanks in advance for your wise counsel.

jrb
 

jrb5564

New Member
Licensed User
Erel,

Thanks again for your quick response. I had added the component, but missed the add object. I also figured out that I had to add node objects as well. Can objects (i.e., new nodes) be added at runtime?

Again, thanks

jrb
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…