Problem with editing

Topics: Developer Forum, Project Management Forum, User Forum
Aug 20, 2014 at 1:26 PM
I've added to the program editor and works flawlessly. When editing the form (VS 2010) I get the error:

The variable 'scintilla1' is either undeclared or was never assigned.

Designer file is present in the line:

this.Controls.Add (this.scintilla1);

What could be the problem?
Coordinator
Aug 21, 2014 at 10:04 PM
Sounds like an exception was thrown in the scintilla1 constructor and your control wasn't actually created. Did you get an exception placing it in the Designer? That's when I typically see that happen.

Try removing code in the designer (perhaps by hand) and drop it on again and see what happens. If you do get an exception I would bet it is related to not having the search path configured properly. There are plenty of answers in the forums on how to do that.


Jacob