I have an app with FTC 3.2.1 that works.
When I try to recompile the project, I get an error related to FTParagraph.Alignment_Type. “Alginment_Type” is an enum.
However, I don’t understand the cause of the error or how to fix it. Can anyone give me some advice?
Structures with invalid fields no longer causes the compiler to crash or trigger an assertion. We now raise a compile error and highlight the problematic structure field. (78844)
I don’t think so. I’m just wondering about this error in the structure.
I just want to use the FTC and not change it if possible. I guess I have no choice but to adjust it.
Unfortunately, as BKS parted ways I no longer have access to a FTC license (and I believe someone else owns it now). I’m afraid I can’t help in any other ways at this point. My suspicion is that structure is indeed wrong, but you’ll need a reference for what it’s supposed to look like to fix it.
Perhaps you need to get in touch with the new owner of FTC?
I think Xojo have introduced a compiler bug when using an Enum in a structure. It appears to be related to the structure specifying Enum as Module.Enum.
The sample project I have attached compiles with Xojo 2017r3 but does not compile with Xojo 2025r2.1. I don’t get the same error as you so there might be more than one bug.