Deprecated command

Hi everyone!

how can i list all deprecated commands on my code?

because i have a lot of old stuff that still work on desktop, but not work on iOS…

for example: on desktopcanvas.paint, it accepts the g.drawrect even if its deprecated
but on MobileCanvas, i got an error… and i need to change to g.drawrectangle

Alex

In Xojo, select Project from the menu, then Analysis Warnings, and check the items for deprecations:

Then, again from the Project menu, select Analyze Project.

1 Like

doesn’t show…

It does for me…

Make sure that the second item “Item1 is deprecated. You should use Item2 instead” is checked in that project. If I remember correctly, these are saved per-project.

ah… found thank you.

using only the first, doesn’t show anything.

Right. Because that specific deprecation has a replacement, so it’s categorized differently. Always make sure you’re including both.

1 Like