Search code examples
delphidelphi-7

List index out of bounds, adding frame delphi


I tried to search for my error, read some topics, but I couldn't find a hint why it would be happening. If someone could help me to at least get some hint of how I can check out what is happening, so I`m able to fix it, it would be greatly appreciated.

I have coding an application that has several bpl linked together to form the executable.
I have a form and a frame on the same project. When I try to add the frame to the form, it gives me a "List index out of bounds" error. I can add other frames that are in this project to this form, but I cannot add this frame to this form or other forms of the project, but the frame is added to the project.

Thanks in advance for any help

Thomas


Solution

  • I was able to fix the problem by removing and adding the frame again to the project.

    Thanks for the help, Ken and Marjan.

    Thanks for teaching me how to debug design time errors, Mason, I not even knew that was possible. Its always nice to learn new things.

    And thanks for yours fast response.

    Thomas