Migrate!

Hello everyone!

Hope you’re doing well.

I have an old desktop project and i noticed that i have a “window” instead a desktopwindow…

i have some “objects” and some “desktopObjects”…

i want to fix this. move all to the last and correct names/classes, etc.

is there a way to do this automagically?

how?

Thank you all!

Alex

There is a feature when you open the context menu of an object.

Start with a Window object (because sometimes it’ll automagically convert any embedded controls–but not always) and right-click, and choose from the context menu “Convert to DesktopWindow”

This will typically take care of a lot of the work, except for actual code changes.

So, then follow the instructions in this bit from the documentation:

And don’t forget to turn on API2 related code analysis warnings for the project.

1 Like