API1 TO API2 conversion

Anyone knows if there is a document which explains which property name in AP1 is replaced by which property name in API2.

To start, you could take a look at the docs.

https://documentation.xojo.com/resources/updating_older_projects.html

https://documentation.xojo.com/topics/api_design/moving_to_api_2.0.html

https://documentation.xojo.com/resources/ios_api_2.0_changes.html

Although not a one to one list, much of this will be found (although unlabeled) at:

https://documentation.xojo.com/resources/deprecations.html
https://documentation.xojo.com/api/deprecated/index.html

Some may simply be deprecations but much of this will be the renaming that took place between API1 to API2.

Others might have some other thoughts here as well…

Just look up the property you have, in the doc. It will say it’s deprecated and give you a link to the replacement.

1 Like

Xojo Deprecated

This is a free app that can be useful for some things.

In general, the Xojo Documentation is the primary resource.

2 Likes

You can also use autocomplete: it’ll show the replacement for API2.
Example for the listbox, after you enter “MyListbox.” followed by the tab key:

Thank you all for your responses, I will take a look at Xojo deprecated, because not all depricated properties are in the tab screen. Only a few are mentioned.
But with these responses I will fimd my way out.

1 Like