I'm relatively new to C++ Builder and the language itself, and my code is now becoming quite long. I was looking to take advantage of using a seperate class for certain methods, however I've come across a problem.
Here's an example of my code in the new class;
TShape* shape; shape = new TShape(this); [B]shape->Parent = frm1->Panel1;[/B]
Having included an
line of code within my main form's header and compiling, an error message was displayed stating that there was an:
Undefined Symbol 'frm1'
I cannot understand where I have gone wrong and was hoping someone had an idea, would be a great help!