[Gambas-bugtracker] Bug #2504: 3.17 'Cursor' class makes '.form' files incompatible to earlier versions

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Thu Mar 17 08:49:55 CET 2022


http://gambaswiki.org/bugtracker/edit?object=BUG.2504&from=L21haW4-

Comment #8 by Christof THALHOFER:

Ahm, maybe I do not understand well, but:

If we make it a component in 3.17, the code is still incompatible in 3.16 as the component doesn't exist in 3.16. It only helps if the class is physically in the project.

I just tested it:

* Opened project in 3.17.
* Inserted Cursor.class and stored it.
* Closed and reopened the project.
* Changed the form 'FmKunde' and stored it.

Now this happened in 'FmKunde.form':

-        Mouse = Mouse.Pointing
+        Mouse = Cursor.Pointing

Now in 3.16:

The project now opens well in the IDE 3.16 because the 'Cursor.class' exists. As soon as I delete it (this is the equivalent of the situation that the component does not exist in 3.16) the error happens again:

"Error: Unknown symbol 'Pointing' in class 'Cursor'"

So it would only help if we made a compatibility component in Gambas 3.16.4.




More information about the Bugtracker mailing list