Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some autotexts not accepted...
#2
It happens when there is single item. C# compiler cannot resolve the type of the expression.

Two ways to solve it:
Code:
Copy      Help
        tt["#fa"] = o => o.Menu(
            new TAMenuItem("Label example", "TEXT") //the TAMenuItem specifies the type
            );

        tt["#fa"] = o => o.Menu([ //the [ ] specifies that it's an array
            new("Label example", "TEXT")
            ]);


Messages In This Thread
Some autotexts not accepted... - by MBaas - 03-18-2024, 10:22 PM
RE: Some autotexts not accepted... - by Gintaras - 03-19-2024, 06:15 AM
RE: Some autotexts not accepted... - by MBaas - 03-19-2024, 08:14 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)