[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gambas-bugtracker] Bug #3219: The component cannot be loaded unless it is listed last in the .project file
[Thread Prev] | [Thread Next]
- Subject: [Gambas-bugtracker] Bug #3219: The component cannot be loaded unless it is listed last in the .project file
- From: <bugtracker@xxxxxxxxxxxxxx>
- Date: Fri, 02 Oct 2026 19:09:13 GMT
- To: Karl.Reinl@xxxxxxxxxx,bsteers@xxxxxxxxx,bugtracker@xxxxxxxxxxxxxxxxxxxxxx
http://gambaswiki.org/bugtracker/edit?object=BUG.3219&from=L21haW4- Comment #6 by Bruce STEERS: Oddly your program works fine here, no errors at all. (master branch) I think what Benoit is saying is that you have an exported class called TimeBox.class in an environment (gb.form) that already has a TimeBox.class. That is "likely" to cause problems. I would advise that using a class name with the same name as an existing object is good for adding or manipulating the object to customise it a bit but not for having something completely different. If you want to duplicate the whole file like TimeBox.class and modify it or make something that is fundamentally different and works differently to the built in object of the same name then it is better to rename it to avoid conflicts, eg MyTimeBox.class ----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----