Where examples are gone?

Since 2023 there is no more examples in the Xojo packages !
As there is less and less snippets in the online documentation, it is more and more difficult to write code when we want to use things we have never used before (like “workers”).

1 Like

The examples are online now. You need to load them from the IDE Examples option with an internet connection.

I think there is an option to download them, but not sure at this moment.

There was a text file in 2022 releases to tell where to download the examples but now, where is it ?

It is in the new project dialog. Click Examples on the left hand panel.

Ah ok, thank you.
If you have no internet (for any reason) you don’t have examples…

Correct. You will see this (with no internet):

image

Hummm…

By default, all Xojo documentation is online. But you can choose to install Local Documentation in Preferences which will install a local version for offline use. You can click this button again to update your local documentation. Preferences — Xojo documentation

Oh the problem is not the documentation but the examples.
No way to get examples if your are offline…

What about downloading all the examples at once?

  • Karen

https://documentation.xojo.com/_examples/xojoexamples.zip

1 Like

Thanks, I finally found the Documentation page with the information here:
https://documentation.xojo.com/getting_started/example_projects/index.html

(I was trying to search the documentation site for ‘examples’, ‘xojo examples’, ‘xojoexamples’ without any good results)

Under Tip:

The examples in this dialog box are loaded via the Internet. If you need access to them when you’re not connected to the Internet, you can download them.

I used Google and searched for: site:documentation.xojo.com xojoexamples.zip

1 Like

By default, the “Examples” button is not visible.

A newbie can believe there are none available :frowning:

1 Like

I really think there should be much much more examples, even offline. And if you are online you can access the most recent examples.

That is the case, if you use the last Xojo version (IMHO).

But, a screen advertising you about the Examples and Documentation at first run can be added without much work.

Something like:
This is the first time you run Xojo 2024r1. Do you want to download:
The Documentation
The Examples

With buttons like Close, Remind Me, Download (and a MenuItem that can display this window).

Feel free to follow the idea or another of your own !

I’ve already asked the team to add details to the Project Chooser window for users who are offline indicating where to download examples and linking to those pages. You should see this change in r2. Thanks for everyone’s feedback in this thread.

8 Likes

I hope that what is used in the IDE is versionalized, like

documentation.xojo.com/example_packs/2024R2/xojoexamples.zip
documentation.xojo.com/example_packs/2026R4/xojoexamples.zip

Or downloading older versions in the future will get incompatible examples.

1 Like

Oh yes, It should be a good idea for the documentation too.

It was for some previous versions…

They are, just confirmed with the team.

2 Likes