'Making' apps

Can you make more than one App in a Xojo project?
I don’t mean multiple platforms, i mean two execs based off of the same modules etc.
Assuming all are desktop or web but not necessary mixed.

you make multiple projects for that, and use the external modules, classes to have the same source code between your projects

You might also want to review this Blog Post.

Yes. You could place a Constant in App.ApplicationName As String then divide the code to do entirely different things based on the constant’s value. In a XojoScript, before you get it to compile, you could set this constant then build as many different applications as you desire.

For example I have a constant for App.isAppStore As Boolean and, if true, I remove all menu options offering to Check for Updates. I also use the App.ApplicationName in external modules to allow the app to reference only the graphics/sounds it needs, so I don’t need to add all ‘extras’ to every app.

2 Likes